#CF797E#CF797E
#CF797E is a light, moderate red. Relative luminance 0.284; OKLCH L 67.1% C 0.108 H 16.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CF797E |
|---|---|
| RGB | rgb(207, 121, 126) |
| HSL | hsl(357, 47%, 64%) |
| HSV | hsv(357, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 39.1%, 18.8%) |
| CIE-LAB | lab(60.29, 34.04, 11.89) |
| CIE-LCH | lch(60.29, 36.06, 19.26°) |
| OKLab | oklab(67.07% 0.103 0.0308) |
| OKLCH | oklch(67.07% 0.108 16.6) |
| XYZ | xyz(36.3372, 28.4496, 23.3122) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.25
Ugly Pink
#CD7584
ΔE00 3.45
Dusty Rose
#C0737A
ΔE00 3.49
Old Rose
#C87F89
ΔE00 3.54
Old Pink
#C77986
ΔE00 3.68
Brownish Pink
#C27E79
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF797E #79CFCA
analogous
#CF79A9 #CF797E #CF9F79
triadic
#CF797E #7ECF79 #797ECF
tetradic
#CF797E #A9CF79 #79CFCA #9F79CF
square
#CF797E #A9CF79 #79CFCA #9F79CF
split-complementary
#CF797E #79CF9F #79A9CF
monochromatic
#97363C #BF4C53 #CF797E #DFA6A9 #EFD3D5
Accessibility & contrast
On white
3.14
#CF797E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#CF797E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF797E
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF797E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF797E | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A877E
Deuteranopia (green-blind)
#9F987C
Tritanopia (blue-blind)
#DE6F7B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cf797e; /* rgb */ color: rgb(207, 121, 126); /* oklch */ color: oklch(67.1% 0.108 16.6);
Tailwind
colors: {
custom: {
50: '#e0a1a3',
500: '#cf797e',
950: '#000000',
},
}SCSS
$custom: #cf797e; $custom-light: #e0a1a3; $custom-dark: #000000;
JSON
{
"hex": "#cf797e",
"rgb": {
"r": 207,
"g": 121,
"b": 126
},
"hsl": {
"h": 356.512,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67075,
"c": 0.10752,
"h": 16.6
},
"luminance": 0.28447
}Semantic roles & 50–950 ramp
primary
#CF797E
secondary
#C3E1DF
accent
#BBB22B
background
#FEFAFA
surface
#FCF3F3
border
#D5CDCD
text
#160F0F
muted
#847F7F