#CD878E#CD878E

#CD878E is a light, moderate red. Relative luminance 0.323; OKLCH L 69.6% C 0.086 H 13.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD878E
RGBrgb(205, 135, 142)
HSLhsl(354, 41%, 67%)
HSVhsv(354, 34%, 80%)
CMYKcmyk(0%, 34.1%, 30.7%, 19.6%)
CIE-LABlab(63.56, 27.74, 7.36)
CIE-LCHlch(63.56, 28.70, 14.85°)
OKLaboklab(69.65% 0.0842 0.0194)
OKLCHoklch(69.65% 0.086 13)
XYZxyz(38.7245, 32.2627, 29.7736)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD878E #87CDC6
analogous
#CD87B1 #CD878E #CDA387
triadic
#CD878E #8ECD87 #878ECD
tetradic
#CD878E #B1CD87 #87CDC6 #A387CD
square
#CD878E #B1CD87 #87CDC6 #A387CD
split-complementary
#CD878E #87CDA3 #87B1CD
monochromatic
#9A4049 #BB5C65 #CD878E #DFB2B7 #F1DDDF

Accessibility & contrast

On white

2.82
#CD878E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD878E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD878E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD878E#FFFFFF#000000##000000
##CD878E1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93928E
Deuteranopia (green-blind)
#A49F8D
Tritanopia (blue-blind)
#DA808A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd878e;
/* rgb */ color: rgb(205, 135, 142);
/* oklch */ color: oklch(69.6% 0.086 13.0);
Tailwind
colors: {
  custom: {
    50: '#deaaaf',
    500: '#cd878e',
    950: '#000000',
  },
}
SCSS
$custom: #cd878e;
$custom-light: #deaaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd878e",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 354,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69649,
    "c": 0.08639,
    "h": 13
  },
  "luminance": 0.3226
}

Semantic roles & 50–950 ramp

primary
#CD878E
secondary
#CDE3E1
accent
#B4A731
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#151010
muted
#837F7F

Preview Lab

Preview with #CD878E

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

Preview Lab → · Contrast checker → · Palette generator →

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