#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 |
|---|---|
| RGB | rgb(205, 129, 124) |
| HSL | hsl(4, 45%, 65%) |
| HSV | hsv(4, 40%, 80%) |
| CMYK | cmyk(0%, 37.1%, 39.5%, 19.6%) |
| CIE-LAB | lab(61.77, 28.76, 15.06) |
| CIE-LCH | lch(61.77, 32.46, 27.65°) |
| OKLab | oklab(68.14% 0.0869 0.0386) |
| OKLCH | oklch(68.14% 0.095 23.9) |
| XYZ | xyz(36.6668, 30.1378, 22.9509) |
| Luminance | 0.3014 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 2.30
Dirty Pink
#CA7B80
ΔE00 3.89
Old Rose
#C87F89
ΔE00 5.78
Dusty Rose
#C0737A
ΔE00 6.08
Dusty Pink (survey)
#D58A94
ΔE00 6.44
Lightcoral
#F08080
ΔE00 6.55
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 |
|---|---|---|---|---|
| ##CD817C | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.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