#CD787D#CD787D
#CD787D is a light, moderate red. Relative luminance 0.279; OKLCH L 66.6% C 0.106 H 16.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CD787D |
|---|---|
| RGB | rgb(205, 120, 125) |
| HSL | hsl(356, 46%, 64%) |
| HSV | hsv(356, 41%, 80%) |
| CMYK | cmyk(0%, 41.5%, 39%, 19.6%) |
| CIE-LAB | lab(59.79, 33.71, 11.73) |
| CIE-LCH | lch(59.79, 35.69, 19.19°) |
| OKLab | oklab(66.63% 0.102 0.0304) |
| OKLCH | oklch(66.63% 0.106 16.6) |
| XYZ | xyz(35.5967, 27.8958, 22.9077) |
| Luminance | 0.2789 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.14
Dusty Rose
#C0737A
ΔE00 3.05
Ugly Pink
#CD7584
ΔE00 3.34
Old Pink
#C77986
ΔE00 3.53
Old Rose
#C87F89
ΔE00 3.53
Brownish Pink
#C27E79
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD787D #78CDC8
analogous
#CD78A7 #CD787D #CD9D78
triadic
#CD787D #7DCD78 #787DCD
tetradic
#CD787D #A7CD78 #78CDC8 #9D78CD
square
#CD787D #A7CD78 #78CDC8 #9D78CD
split-complementary
#CD787D #78CD9D #78A7CD
monochromatic
#94373C #BC4B52 #CD787D #DEA5A8 #EED1D3
Accessibility & contrast
On white
3.19
#CD787D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#CD787D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD787D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD787D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD787D | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#9D967B
Tritanopia (blue-blind)
#DC6E7A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cd787d; /* rgb */ color: rgb(205, 120, 125); /* oklch */ color: oklch(66.6% 0.106 16.6);
Tailwind
colors: {
custom: {
50: '#dfa0a2',
500: '#cd787d',
950: '#000000',
},
}SCSS
$custom: #cd787d; $custom-light: #dfa0a2; $custom-dark: #000000;
JSON
{
"hex": "#cd787d",
"rgb": {
"r": 205,
"g": 120,
"b": 125
},
"hsl": {
"h": 356.471,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.66633,
"c": 0.10643,
"h": 16.6
},
"luminance": 0.27893
}Semantic roles & 50–950 ramp
primary
#CD787D
secondary
#C1DFDE
accent
#B9B12C
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#150F0F
muted
#847E7E