#CD879C#CD879C

#CD879C is a light, moderate pink. Relative luminance 0.327; OKLCH L 70.0% C 0.089 H 0.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD879C
RGBrgb(205, 135, 156)
HSLhsl(342, 41%, 67%)
HSVhsv(342, 34%, 80%)
CMYKcmyk(0%, 34.1%, 23.9%, 19.6%)
CIE-LABlab(63.93, 29.70, -0.06)
CIE-LCHlch(63.93, 29.70, 359.89°)
OKLaboklab(70.05% 0.0895 0.0003)
OKLCHoklch(70.05% 0.089 0.2)
XYZxyz(39.8423, 32.7098, 35.6611)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD879C #87CDB8
analogous
#CD87BF #CD879C #CD9587
triadic
#CD879C #9CCD87 #879CCD
tetradic
#CD879C #BFCD87 #87CDB8 #9587CD
square
#CD879C #BFCD87 #87CDB8 #9587CD
split-complementary
#CD879C #87CD95 #87BFCD
monochromatic
#9A405B #BB5C78 #CD879C #DFB2C0 #F1DDE3

Accessibility & contrast

On white

2.78
#CD879C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CD879C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD879C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD879C#FFFFFF#000000##000000
##CD879C1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90939D
Deuteranopia (green-blind)
#A1A09A
Tritanopia (blue-blind)
#D8838E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd879c;
/* rgb */ color: rgb(205, 135, 156);
/* oklch */ color: oklch(70.0% 0.089 0.2);
Tailwind
colors: {
  custom: {
    50: '#ddabb9',
    500: '#cd879c',
    950: '#000000',
  },
}
SCSS
$custom: #cd879c;
$custom-light: #ddabb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd879c",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 342,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7005,
    "c": 0.08947,
    "h": 0.2
  },
  "luminance": 0.32707
}

Semantic roles & 50–950 ramp

primary
#CD879C
secondary
#CDE3DC
accent
#B48D31
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CD879C

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

Preview Lab → · Contrast checker → · Palette generator →

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