#CC787B#CC787B
#CC787B is a light, moderate red. Relative luminance 0.277; OKLCH L 66.5% C 0.105 H 18.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CC787B |
|---|---|
| RGB | rgb(204, 120, 123) |
| HSL | hsl(358, 45%, 64%) |
| HSV | hsv(358, 41%, 80%) |
| CMYK | cmyk(0%, 41.2%, 39.7%, 20%) |
| CIE-LAB | lab(59.62, 33.10, 12.61) |
| CIE-LCH | lch(59.62, 35.42, 20.86°) |
| OKLab | oklab(66.46% 0.1001 0.0325) |
| OKLCH | oklch(66.46% 0.105 18) |
| XYZ | xyz(35.1952, 27.7034, 22.2287) |
| Luminance | 0.2770 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.43
Dusty Rose
#C0737A
ΔE00 3.17
Brownish Pink
#C27E79
ΔE00 3.81
Old Rose
#C87F89
ΔE00 4.00
Ugly Pink
#CD7584
ΔE00 4.01
Old Pink
#C77986
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC787B #78CCC9
analogous
#CC78A5 #CC787B #CC9F78
triadic
#CC787B #7BCC78 #787BCC
tetradic
#CC787B #A5CC78 #78CCC9 #9F78CC
square
#CC787B #A5CC78 #78CCC9 #9F78CC
split-complementary
#CC787B #78CC9F #78A5CC
monochromatic
#92373B #BB4C50 #CC787B #DDA4A6 #EED1D2
Accessibility & contrast
On white
3.21
#CC787B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#CC787B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC787B
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC787B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC787B | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867B
Deuteranopia (green-blind)
#9D9679
Tritanopia (blue-blind)
#DB6E79
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cc787b; /* rgb */ color: rgb(204, 120, 123); /* oklch */ color: oklch(66.5% 0.105 18.0);
Tailwind
colors: {
custom: {
50: '#dea0a1',
500: '#cc787b',
950: '#000000',
},
}SCSS
$custom: #cc787b; $custom-light: #dea0a1; $custom-dark: #000000;
JSON
{
"hex": "#cc787b",
"rgb": {
"r": 204,
"g": 120,
"b": 123
},
"hsl": {
"h": 357.857,
"s": 45.161,
"l": 63.529
},
"oklch": {
"l": 0.66457,
"c": 0.10527,
"h": 18
},
"luminance": 0.277
}Semantic roles & 50–950 ramp
primary
#CC787B
secondary
#C1DFDE
accent
#B8B32D
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E