#CD817C#CD817C

#CD817C is a light, moderate red. Relative luminance 0.301; OKLCH L 68.1% C 0.095 H 23.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD817C
RGBrgb(205, 129, 124)
HSLhsl(4, 45%, 65%)
HSVhsv(4, 40%, 80%)
CMYKcmyk(0%, 37.1%, 39.5%, 19.6%)
CIE-LABlab(61.77, 28.76, 15.06)
CIE-LCHlch(61.77, 32.46, 27.65°)
OKLaboklab(68.14% 0.0869 0.0386)
OKLCHoklch(68.14% 0.095 23.9)
XYZxyz(36.6668, 30.1378, 22.9509)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD817C #7CC8CD
analogous
#CD7CA0 #CD817C #CDAA7C
triadic
#CD817C #7CCD81 #817CCD
tetradic
#CD817C #A0CD7C #7CC8CD #AA7CCD
square
#CD817C #A0CD7C #7CC8CD #AA7CCD
split-complementary
#CD817C #7CCDAA #7CA0CD
monochromatic
#963F39 #BC5650 #CD817C #DEACA8 #EFD6D5

Accessibility & contrast

On white

2.99
#CD817C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CD817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD817C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD817C#FFFFFF#000000##000000
##CD817C1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C7B
Deuteranopia (green-blind)
#A39B7B
Tritanopia (blue-blind)
#DC7880
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd817c;
/* rgb */ color: rgb(205, 129, 124);
/* oklch */ color: oklch(68.1% 0.095 23.9);
Tailwind
colors: {
  custom: {
    50: '#dfa6a1',
    500: '#cd817c',
    950: '#000000',
  },
}
SCSS
$custom: #cd817c;
$custom-light: #dfa6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd817c",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 3.704,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.09508,
    "h": 23.9
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#CD817C
secondary
#C4DFE0
accent
#AFB82E
background
#FDFAF9
surface
#FBF4F2
border
#D4CECC
text
#150F0F
muted
#837F7E

Preview Lab

Preview with #CD817C

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

Preview Lab → · Contrast checker → · Palette generator →

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