#CC787F#CC787F
#CC787F is a light, moderate red. Relative luminance 0.278; OKLCH L 66.6% C 0.105 H 15.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CC787F |
|---|---|
| RGB | rgb(204, 120, 127) |
| HSL | hsl(355, 45%, 64%) |
| HSV | hsv(355, 41%, 80%) |
| CMYK | cmyk(0%, 41.2%, 37.7%, 20%) |
| CIE-LAB | lab(59.71, 33.57, 10.44) |
| CIE-LCH | lch(59.71, 35.15, 17.28°) |
| OKLab | oklab(66.56% 0.1017 0.0272) |
| OKLCH | oklch(66.56% 0.105 15) |
| XYZ | xyz(35.4507, 27.8056, 23.5745) |
| Luminance | 0.2780 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.04
Ugly Pink
#CD7584
ΔE00 2.60
Dusty Rose
#C0737A
ΔE00 2.72
Old Pink
#C77986
ΔE00 2.74
Old Rose
#C87F89
ΔE00 2.93
Dusky Pink
#CC7A8B
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC787F #78CCC5
analogous
#CC78A9 #CC787F #CC9B78
triadic
#CC787F #7FCC78 #787FCC
tetradic
#CC787F #A9CC78 #78CCC5 #9B78CC
square
#CC787F #A9CC78 #78CCC5 #9B78CC
split-complementary
#CC787F #78CC9B #78A9CC
monochromatic
#92373F #BB4C55 #CC787F #DDA4A9 #EED1D3
Accessibility & contrast
On white
3.20
#CC787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#CC787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC787F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC787F | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#9D967D
Tritanopia (blue-blind)
#DB6F7B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cc787f; /* rgb */ color: rgb(204, 120, 127); /* oklch */ color: oklch(66.6% 0.105 15.0);
Tailwind
colors: {
custom: {
50: '#dea0a4',
500: '#cc787f',
950: '#000000',
},
}SCSS
$custom: #cc787f; $custom-light: #dea0a4; $custom-dark: #000000;
JSON
{
"hex": "#cc787f",
"rgb": {
"r": 204,
"g": 120,
"b": 127
},
"hsl": {
"h": 355,
"s": 45.161,
"l": 63.529
},
"oklch": {
"l": 0.66559,
"c": 0.10525,
"h": 15
},
"luminance": 0.27803
}Semantic roles & 50–950 ramp
primary
#CC787F
secondary
#C1DFDC
accent
#B8AD2D
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F