#CC8BA2#CC8BA2

#CC8BA2 is a light, moderate pink. Relative luminance 0.339; OKLCH L 70.8% C 0.084 H 356.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CC8BA2
RGBrgb(204, 139, 162)
HSLhsl(339, 39%, 67%)
HSVhsv(339, 32%, 80%)
CMYKcmyk(0%, 31.9%, 20.6%, 20%)
CIE-LABlab(64.89, 28.05, -2.05)
CIE-LCHlch(64.89, 28.13, 355.82°)
OKLaboklab(70.82% 0.0841 -0.005)
OKLCHoklch(70.82% 0.084 356.6)
XYZxyz(40.6566, 33.9135, 38.5799)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BA2 #8BCCB5
analogous
#CC8BC3 #CC8BA2 #CC958B
triadic
#CC8BA2 #A2CC8B #8BA2CC
tetradic
#CC8BA2 #C3CC8B #8BCCB5 #958BCC
square
#CC8BA2 #C3CC8B #8BCCB5 #958BCC
split-complementary
#CC8BA2 #8BCC95 #8BC3CC
monochromatic
#994362 #B96080 #CC8BA2 #DFB6C4 #F1E0E6

Accessibility & contrast

On white

2.70
#CC8BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CC8BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BA2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BA2#FFFFFF#000000##000000
##CC8BA21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#A2A2A1
Tritanopia (blue-blind)
#D68893
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc8ba2;
/* rgb */ color: rgb(204, 139, 162);
/* oklch */ color: oklch(70.8% 0.084 356.6);
Tailwind
colors: {
  custom: {
    50: '#dcadbd',
    500: '#cc8ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ba2;
$custom-light: #dcadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ba2",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 338.769,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.08423,
    "h": 356.6
  },
  "luminance": 0.33911
}

Semantic roles & 50–950 ramp

primary
#CC8BA2
secondary
#CFE4DC
accent
#B28534
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8BA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC8BA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva