#CF797A#CF797A
#CF797A is a light, moderate red. Relative luminance 0.283; OKLCH L 67.0% C 0.108 H 19.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CF797A |
|---|---|
| RGB | rgb(207, 121, 122) |
| HSL | hsl(359, 47%, 64%) |
| HSV | hsv(359, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 41.1%, 18.8%) |
| CIE-LAB | lab(60.20, 33.59, 14.06) |
| CIE-LCH | lch(60.20, 36.41, 22.71°) |
| OKLab | oklab(66.98% 0.1014 0.0361) |
| OKLCH | oklch(66.98% 0.108 19.6) |
| XYZ | xyz(36.0842, 28.3484, 21.9799) |
| Luminance | 0.2834 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 2.17
Brownish Pink
#C27E79
ΔE00 3.66
Dusty Rose
#C0737A
ΔE00 4.12
Old Rose
#C87F89
ΔE00 4.70
Ugly Pink
#CD7584
ΔE00 4.85
Old Pink
#C77986
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF797A #79CFCE
analogous
#CF79A5 #CF797A #CFA379
triadic
#CF797A #7ACF79 #797ACF
tetradic
#CF797A #A5CF79 #79CFCE #A379CF
square
#CF797A #A5CF79 #79CFCE #A379CF
split-complementary
#CF797A #79CFA3 #79A5CF
monochromatic
#973637 #BF4C4D #CF797A #DFA6A7 #EFD3D3
Accessibility & contrast
On white
3.15
#CF797A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#CF797A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF797A
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF797A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF797A | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B877A
Deuteranopia (green-blind)
#A09878
Tritanopia (blue-blind)
#DE6F7A
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cf797a; /* rgb */ color: rgb(207, 121, 122); /* oklch */ color: oklch(67.0% 0.108 19.6);
Tailwind
colors: {
custom: {
50: '#e0a1a0',
500: '#cf797a',
950: '#000000',
},
}SCSS
$custom: #cf797a; $custom-light: #e0a1a0; $custom-dark: #000000;
JSON
{
"hex": "#cf797a",
"rgb": {
"r": 207,
"g": 121,
"b": 122
},
"hsl": {
"h": 359.302,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.66976,
"c": 0.10767,
"h": 19.6
},
"luminance": 0.28345
}Semantic roles & 50–950 ramp
primary
#CF797A
secondary
#C3E1E0
accent
#BBB92B
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0E
muted
#847F7E