Skip to content

#ccabb2

a light, soft red · warm · closest name: Thistle

RGB
204, 171, 178
HSL
347°, 24%, 74%
CMYK
0, 16, 13, 20
Luminance
0.4518

At a glance

Every number on this page in one read: what #ccabb2 is made of, how bright it looks, and which way it leans.

Hex
#ccabb2
Hue
347°
red
Saturation
24%
soft
Lightness
74%
light
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4518
WCAG relative
Temperature
Warm
32/100 cool
Color family
Red
Tone
Soft
Best ink
Black
10.04:1
Closest name
Thistle
ΔE2000 8.7
Where it sits
Hue347° of 360°
Saturation24%
Lightness74%
Temperature
Warm ← → Cool32% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ccabb2
RGBrgb(204, 171, 178)
HSLhsl(347, 24%, 74%)
CMYKcmyk(0%, 16%, 13%, 20%)
LABlab(73.0 13.1 0.9)
LCHlch(73.0 13.2 3.9)
OKLCHoklch(0.772 0.040 3.7)
Decimal13413298
Display P3color(display-p3 0.800 0.671 0.698)

Copy-ready code

/* CSS */
color: #ccabb2;
background-color: #ccabb2;
/* Tailwind (arbitrary) */
class="text-[#ccabb2] bg-[#ccabb2]"
/* SCSS */
$brand: #ccabb2;
/* SwiftUI */
Color(red: 0.800, green: 0.671, blue: 0.698)
/* Android */
Color.parseColor("#ccabb2")
/* Flutter */
Color(0xFFCCABB2)
/* Python / OpenCV (BGR) */
(178, 171, 204)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ccabb2 · 10.04:1
Use #000000AAA at every size.
Aa
White text · 2.09:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ccabb2 as text scores 2.09:1 on white and 10.04:1 on black.

Accessibility — WCAG contrast

Aa
#ccabb2 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#ccabb2 on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AFB0B2
deuteranopia · #B7B5B1
tritanopia · #D2A9AD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccabb2 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F6F7
#F3EDEE
#E5D7DA
#ccabb2
#BF969F
#AA737F
#985D69
#7F4D58
#663E46
#4B2F35
#2F1E21
Base = 300Lightest = 50 · #F9F6F7Darkest = 950 · #2F1E21
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F3EDEE;
  --brand-200: #E5D7DA;
  --brand-300: #ccabb2;
  --brand-400: #BF969F;
  --brand-500: #AA737F;
  --brand-600: #985D69;
  --brand-700: #7F4D58;
  --brand-800: #663E46;
  --brand-900: #4B2F35;
  --brand-950: #2F1E21;
  --brand: #ccabb2;
  --brand-ink: #000000;
}

Colors that work with #ccabb2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F5F6
Tinted page background
Border#E0CCD0
Hairlines and dividers
Muted text#8F5763
Captions on the surface
Accent#498368
Second voice, not a rival
Dark variant#4F3037
Hover, pressed, headers
Light variant#F5EFF0
Selected rows, tints
Dark surface#231518
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ccabb2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#ABCCC5
Analogous left#CCABC2
Analogous right#CCB4AB
Split-complement 1#ABCCB4
Split-complement 2#ABC2CC
Triadic 1#B2CCAB
Triadic 2#ABB2CC
Tetradic#C2CCAB

RGB percentages

Red80.0%
Green67.1%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta16.2%
Yellow12.7%
Key (black)20.0%

Color previews

#ccabb2 text on a black background

contrast 10.04:1

Card sample

#ccabb2 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ccabb2;
Background color
Panel with #ccabb2 background
background-color: #ccabb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ccabb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 171, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 171, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccabb2;
background: linear-gradient(135deg, #ccabb2, #CCBAAB);

Monochromatic scale

Palettes built from #ccabb2

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ccabb2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ccabb2, answered

What color is #ccabb2?

#ccabb2 is a light soft red, closest to Thistle (ΔE2000 8.7). It sits at 347° on the hue wheel with 24% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ccabb2?

rgb(204, 171, 178) — 204 red, 171 green and 178 blue out of 255, or 80% / 67.1% / 69.8% by channel.

Is #ccabb2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4518 and perceived brightness is 71%, so black text on it reaches 10.04:1.

Should I use black or white text on #ccabb2?

Black. It scores 10.04:1 against #ccabb2, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #ccabb2?

#ABCCC5 sits directly opposite on the wheel. Softer options are the split-complements #ABCCB4 and #ABC2CC, which give the same contrast with far less vibration.

What colors go well with #ccabb2?

For interface work: #F9F5F6 as the surface, #E0CCD0 for borders, #8F5763 for secondary text, #498368 as an accent and #4F3037 for hover and pressed states. For a palette, the analogous pair #CCABC2 and #CCB4AB stays calm, while #ABCCC5 is the loudest partner.

What is #ccabb2 in CMYK for printing?

cmyk(0%, 16%, 13%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ccabb2 warm or cool?

Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CCB0AB; nudged cooler, #CDAABE.

Work with #ccabb2 in the Color Lab