#CD817E#CD817E

#CD817E is a light, moderate red. Relative luminance 0.302; OKLCH L 68.2% C 0.095 H 22.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CD817E
RGBrgb(205, 129, 126)
HSLhsl(2, 44%, 65%)
HSVhsv(2, 39%, 80%)
CMYKcmyk(0%, 37.1%, 38.5%, 19.6%)
CIE-LABlab(61.82, 28.99, 13.99)
CIE-LCHlch(61.82, 32.19, 25.76°)
OKLaboklab(68.19% 0.0877 0.036)
OKLCHoklch(68.19% 0.095 22.3)
XYZxyz(36.7946, 30.1889, 23.6238)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD817E #7ECACD
analogous
#CD7EA3 #CD817E #CDA87E
triadic
#CD817E #7ECD81 #817ECD
tetradic
#CD817E #A3CD7E #7ECACD #A87ECD
square
#CD817E #A3CD7E #7ECACD #A87ECD
split-complementary
#CD817E #7ECDA8 #7EA3CD
monochromatic
#963E3A #BC5652 #CD817E #DEACAA #EFD7D6

Accessibility & contrast

On white

2.98
#CD817E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CD817E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD817E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD817E#FFFFFF#000000##000000
##CD817E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C7D
Deuteranopia (green-blind)
#A39B7D
Tritanopia (blue-blind)
#DC7881
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd817e;
/* rgb */ color: rgb(205, 129, 126);
/* oklch */ color: oklch(68.2% 0.095 22.3);
Tailwind
colors: {
  custom: {
    50: '#dea6a3',
    500: '#cd817e',
    950: '#000000',
  },
}
SCSS
$custom: #cd817e;
$custom-light: #dea6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd817e",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 2.278,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68188,
    "c": 0.09479,
    "h": 22.3
  },
  "luminance": 0.30186
}

Semantic roles & 50–950 ramp

primary
#CD817E
secondary
#C6E0E1
accent
#B2B72E
background
#FDFAFA
surface
#FBF4F3
border
#D4CECD
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CD817E

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

Preview Lab → · Contrast checker → · Palette generator →

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