#CD7986#CD7986

#CD7986 is a light, moderate red. Relative luminance 0.284; OKLCH L 67.0% C 0.106 H 10.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CD7986
RGBrgb(205, 121, 134)
HSLhsl(351, 46%, 64%)
HSVhsv(351, 41%, 80%)
CMYKcmyk(0%, 41%, 34.6%, 19.6%)
CIE-LABlab(60.23, 34.26, 7.17)
CIE-LCHlch(60.23, 35.00, 11.82°)
OKLaboklab(67.04% 0.1039 0.019)
OKLCHoklch(67.04% 0.106 10.3)
XYZxyz(36.3188, 28.3781, 26.1143)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7986 #79CDC0
analogous
#CD79B0 #CD7986 #CD9679
triadic
#CD7986 #86CD79 #7986CD
tetradic
#CD7986 #B0CD79 #79CDC0 #9679CD
square
#CD7986 #B0CD79 #79CDC0 #9679CD
split-complementary
#CD7986 #79CD96 #79B0CD
monochromatic
#943746 #BC4C5E #CD7986 #DEA6AE #EED2D6

Accessibility & contrast

On white

3.15
#CD7986 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CD7986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7986
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7986#FFFFFF#000000##000000
##CD79861.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#888786
Deuteranopia (green-blind)
#9C9784
Tritanopia (blue-blind)
#DB717E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd7986;
/* rgb */ color: rgb(205, 121, 134);
/* oklch */ color: oklch(67.0% 0.106 10.3);
Tailwind
colors: {
  custom: {
    50: '#dfa1a9',
    500: '#cd7986',
    950: '#000000',
  },
}
SCSS
$custom: #cd7986;
$custom-light: #dfa1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7986",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 350.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.1056,
    "h": 10.3
  },
  "luminance": 0.28375
}

Semantic roles & 50–950 ramp

primary
#CD7986
secondary
#C2E0DB
accent
#B9A32D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CD7986

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

Preview Lab → · Contrast checker → · Palette generator →

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