#CD817A#CD817A

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

Color values

HEX#CD817A
RGBrgb(205, 129, 122)
HSLhsl(5, 45%, 64%)
HSVhsv(5, 40%, 80%)
CMYKcmyk(0%, 37.1%, 40.5%, 19.6%)
CIE-LABlab(61.73, 28.53, 16.14)
CIE-LCHlch(61.73, 32.78, 29.50°)
OKLaboklab(68.09% 0.0861 0.0412)
OKLCHoklch(68.09% 0.095 25.6)
XYZxyz(36.5416, 30.0877, 22.2915)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD817A #7AC6CD
analogous
#CD7A9D #CD817A #CDAB7A
triadic
#CD817A #7ACD81 #817ACD
tetradic
#CD817A #9DCD7A #7AC6CD #AB7ACD
square
#CD817A #9DCD7A #7AC6CD #AB7ACD
split-complementary
#CD817A #7ACDAB #7A9DCD
monochromatic
#954038 #BC574E #CD817A #DEABA6 #EED5D3

Accessibility & contrast

On white

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

On black

7.02
#CD817A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD817A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD817A#FFFFFF#000000##000000
##CD817A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C79
Deuteranopia (green-blind)
#A49B79
Tritanopia (blue-blind)
#DC777F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd817a;
/* rgb */ color: rgb(205, 129, 122);
/* oklch */ color: oklch(68.1% 0.095 25.6);
Tailwind
colors: {
  custom: {
    50: '#dfa6a0',
    500: '#cd817a',
    950: '#000000',
  },
}
SCSS
$custom: #cd817a;
$custom-light: #dfa6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd817a",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 122
  },
  "hsl": {
    "h": 5.06,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68093,
    "c": 0.09545,
    "h": 25.6
  },
  "luminance": 0.30085
}

Semantic roles & 50–950 ramp

primary
#CD817A
secondary
#C3DDE0
accent
#ADB92D
background
#FDFAF9
surface
#FBF4F2
border
#D4CECC
text
#150F0E
muted
#837F7E

Preview Lab

Preview with #CD817A

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

Preview Lab → · Contrast checker → · Palette generator →

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