#CC797C#CC797C
#CC797C is a light, moderate red. Relative luminance 0.280; OKLCH L 66.6% C 0.104 H 17.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CC797C |
|---|---|
| RGB | rgb(204, 121, 124) |
| HSL | hsl(358, 45%, 64%) |
| HSV | hsv(358, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 39.2%, 20%) |
| CIE-LAB | lab(59.86, 32.68, 12.38) |
| CIE-LCH | lch(59.86, 34.95, 20.75°) |
| OKLab | oklab(66.65% 0.0989 0.032) |
| OKLCH | oklch(66.65% 0.104 17.9) |
| XYZ | xyz(35.3790, 27.9703, 22.6004) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.21
Dusty Rose
#C0737A
ΔE00 3.25
Brownish Pink
#C27E79
ΔE00 3.71
Old Rose
#C87F89
ΔE00 3.80
Ugly Pink
#CD7584
ΔE00 4.00
Old Pink
#C77986
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC797C #79CCC9
analogous
#CC79A5 #CC797C #CC9F79
triadic
#CC797C #7CCC79 #797CCC
tetradic
#CC797C #A5CC79 #79CCC9 #9F79CC
square
#CC797C #A5CC79 #79CCC9 #9F79CC
split-complementary
#CC797C #79CC9F #79A5CC
monochromatic
#93383B #BB4D51 #CC797C #DDA5A7 #EED2D3
Accessibility & contrast
On white
3.19
#CC797C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#CC797C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC797C
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC797C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC797C | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cc797c; /* rgb */ color: rgb(204, 121, 124); /* oklch */ color: oklch(66.6% 0.104 17.9);
Tailwind
colors: {
custom: {
50: '#dea1a1',
500: '#cc797c',
950: '#000000',
},
}SCSS
$custom: #cc797c; $custom-light: #dea1a1; $custom-dark: #000000;
JSON
{
"hex": "#cc797c",
"rgb": {
"r": 204,
"g": 121,
"b": 124
},
"hsl": {
"h": 357.831,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.6665,
"c": 0.10391,
"h": 17.9
},
"luminance": 0.27967
}Semantic roles & 50–950 ramp
primary
#CC797C
secondary
#C2DFDE
accent
#B8B32D
background
#FDFAF9
surface
#FBF3F2
border
#D4CDCC
text
#150F0F
muted
#837F7E