#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 |
|---|---|
| RGB | rgb(205, 129, 122) |
| HSL | hsl(5, 45%, 64%) |
| HSV | hsv(5, 40%, 80%) |
| CMYK | cmyk(0%, 37.1%, 40.5%, 19.6%) |
| CIE-LAB | lab(61.73, 28.53, 16.14) |
| CIE-LCH | lch(61.73, 32.78, 29.50°) |
| OKLab | oklab(68.09% 0.0861 0.0412) |
| OKLCH | oklch(68.09% 0.095 25.6) |
| XYZ | xyz(36.5416, 30.0877, 22.2915) |
| Luminance | 0.3009 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 2.42
Dirty Pink
#CA7B80
ΔE00 4.59
Old Rose
#C87F89
ΔE00 6.52
Dusty Rose
#C0737A
ΔE00 6.62
Lightcoral
#F08080
ΔE00 6.71
Dusty Pink (survey)
#D58A94
ΔE00 7.14
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 |
|---|---|---|---|---|
| ##CD817A | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.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