#CD879E#CD879E

#CD879E is a light, moderate pink. Relative luminance 0.328; OKLCH L 70.1% C 0.090 H 358.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CD879E
RGBrgb(205, 135, 158)
HSLhsl(340, 41%, 67%)
HSVhsv(340, 34%, 80%)
CMYKcmyk(0%, 34.1%, 22.9%, 19.6%)
CIE-LABlab(63.98, 29.99, -1.11)
CIE-LCHlch(63.98, 30.01, 357.88°)
OKLaboklab(70.11% 0.0902 -0.0025)
OKLCHoklch(70.11% 0.09 358.4)
XYZxyz(40.0131, 32.7781, 36.5604)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD879E #87CDB6
analogous
#CD87C1 #CD879E #CD9387
triadic
#CD879E #9ECD87 #879ECD
tetradic
#CD879E #C1CD87 #87CDB6 #9387CD
square
#CD879E #C1CD87 #87CDB6 #9387CD
split-complementary
#CD879E #87CD93 #87C1CD
monochromatic
#9A405D #BB5C7B #CD879E #DFB2C1 #F1DDE4

Accessibility & contrast

On white

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

On black

7.56
#CD879E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD879E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD879E#FFFFFF#000000##000000
##CD879E1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90949F
Deuteranopia (green-blind)
#A1A09C
Tritanopia (blue-blind)
#D8838F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd879e;
/* rgb */ color: rgb(205, 135, 158);
/* oklch */ color: oklch(70.1% 0.090 358.4);
Tailwind
colors: {
  custom: {
    50: '#ddabba',
    500: '#cd879e',
    950: '#000000',
  },
}
SCSS
$custom: #cd879e;
$custom-light: #ddabba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd879e",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 340.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70111,
    "c": 0.09022,
    "h": 358.4
  },
  "luminance": 0.32776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD879E

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

Preview Lab → · Contrast checker → · Palette generator →

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