#CC797F#CC797F
#CC797F is a light, moderate red. Relative luminance 0.280; OKLCH L 66.7% C 0.104 H 15.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CC797F |
|---|---|
| RGB | rgb(204, 121, 127) |
| HSL | hsl(356, 45%, 64%) |
| HSV | hsv(356, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 37.7%, 20%) |
| CIE-LAB | lab(59.93, 33.03, 10.75) |
| CIE-LCH | lch(59.93, 34.74, 18.03°) |
| OKLab | oklab(66.73% 0.1001 0.028) |
| OKLCH | oklch(66.73% 0.104 15.6) |
| XYZ | xyz(35.5716, 28.0474, 23.6148) |
| Luminance | 0.2804 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.73
Dusty Rose
#C0737A
ΔE00 2.89
Old Rose
#C87F89
ΔE00 2.93
Ugly Pink
#CD7584
ΔE00 2.95
Old Pink
#C77986
ΔE00 2.97
Dusky Pink
#CC7A8B
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC797F #79CCC6
analogous
#CC79A8 #CC797F #CC9C79
triadic
#CC797F #7FCC79 #797FCC
tetradic
#CC797F #A8CC79 #79CCC6 #9C79CC
square
#CC797F #A8CC79 #79CCC6 #9C79CC
split-complementary
#CC797F #79CC9C #79A8CC
monochromatic
#93383E #BB4D55 #CC797F #DDA5A9 #EED2D4
Accessibility & contrast
On white
3.18
#CC797F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#CC797F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC797F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC797F | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#9D977D
Tritanopia (blue-blind)
#DB707B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cc797f; /* rgb */ color: rgb(204, 121, 127); /* oklch */ color: oklch(66.7% 0.104 15.6);
Tailwind
colors: {
custom: {
50: '#dea1a4',
500: '#cc797f',
950: '#000000',
},
}SCSS
$custom: #cc797f; $custom-light: #dea1a4; $custom-dark: #000000;
JSON
{
"hex": "#cc797f",
"rgb": {
"r": 204,
"g": 121,
"b": 127
},
"hsl": {
"h": 355.663,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.66726,
"c": 0.10388,
"h": 15.6
},
"luminance": 0.28044
}Semantic roles & 50–950 ramp
primary
#CC797F
secondary
#C2DFDD
accent
#B8AE2D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F0F
muted
#837F7F