#CC877F#CC877F
#CC877F is a light, moderate red. Relative luminance 0.317; OKLCH L 69.2% C 0.086 H 26.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #CC877F |
|---|---|
| RGB | rgb(204, 135, 127) |
| HSL | hsl(6, 43%, 65%) |
| HSV | hsv(6, 38%, 80%) |
| CMYK | cmyk(0%, 33.8%, 37.7%, 20%) |
| CIE-LAB | lab(63.09, 25.46, 15.18) |
| CIE-LCH | lch(63.09, 29.65, 30.81°) |
| OKLab | oklab(69.15% 0.0771 0.0389) |
| OKLCH | oklch(69.15% 0.086 26.8) |
| XYZ | xyz(37.3981, 31.7003, 24.2236) |
| Luminance | 0.3170 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 3.14
Dirty Pink
#CA7B80
ΔE00 5.57
Rosybrown
#BC8F8F
ΔE00 6.33
Greyish Pink
#C88D94
ΔE00 6.56
Old Rose
#C87F89
ΔE00 6.92
Dusty Pink (survey)
#D58A94
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC877F #7FC4CC
analogous
#CC7F9D #CC877F #CCAE7F
triadic
#CC877F #7FCC87 #877FCC
tetradic
#CC877F #9DCC7F #7FC4CC #AE7FCC
square
#CC877F #9DCC7F #7FC4CC #AE7FCC
split-complementary
#CC877F #7FCCAE #7F9DCC
monochromatic
#95453B #BB5E53 #CC877F #DDB0AB #EFD9D7
Accessibility & contrast
On white
2.86
#CC877F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#CC877F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC877F
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC877F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC877F | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96907E
Deuteranopia (green-blind)
#A69E7E
Tritanopia (blue-blind)
#DA7E85
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cc877f; /* rgb */ color: rgb(204, 135, 127); /* oklch */ color: oklch(69.2% 0.086 26.8);
Tailwind
colors: {
custom: {
50: '#ddaaa4',
500: '#cc877f',
950: '#000000',
},
}SCSS
$custom: #cc877f; $custom-light: #ddaaa4; $custom-dark: #000000;
JSON
{
"hex": "#cc877f",
"rgb": {
"r": 204,
"g": 135,
"b": 127
},
"hsl": {
"h": 6.234,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.69151,
"c": 0.08637,
"h": 26.8
},
"luminance": 0.31698
}Semantic roles & 50–950 ramp
primary
#CC877F
secondary
#C6DEE1
accent
#A8B62F
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#15100F
muted
#837F7F