#CF797B#CF797B
#CF797B is a light, moderate red. Relative luminance 0.284; OKLCH L 67.0% C 0.108 H 18.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CF797B |
|---|---|
| RGB | rgb(207, 121, 123) |
| HSL | hsl(359, 47%, 64%) |
| HSV | hsv(359, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 40.6%, 18.8%) |
| CIE-LAB | lab(60.22, 33.70, 13.52) |
| CIE-LCH | lch(60.22, 36.31, 21.86°) |
| OKLab | oklab(67% 0.1018 0.0348) |
| OKLCH | oklch(67% 0.108 18.8) |
| XYZ | xyz(36.1465, 28.3733, 22.3079) |
| Luminance | 0.2837 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.88
Brownish Pink
#C27E79
ΔE00 3.83
Dusty Rose
#C0737A
ΔE00 3.92
Old Rose
#C87F89
ΔE00 4.40
Ugly Pink
#CD7584
ΔE00 4.49
Old Pink
#C77986
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF797B #79CFCD
analogous
#CF79A6 #CF797B #CFA279
triadic
#CF797B #7BCF79 #797BCF
tetradic
#CF797B #A6CF79 #79CFCD #A279CF
square
#CF797B #A6CF79 #79CFCD #A279CF
split-complementary
#CF797B #79CFA2 #79A6CF
monochromatic
#973638 #BF4C4F #CF797B #DFA6A7 #EFD3D4
Accessibility & contrast
On white
3.15
#CF797B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#CF797B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF797B
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF797B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF797B | 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)
#8A877B
Deuteranopia (green-blind)
#9F9879
Tritanopia (blue-blind)
#DE6F7A
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cf797b; /* rgb */ color: rgb(207, 121, 123); /* oklch */ color: oklch(67.0% 0.108 18.8);
Tailwind
colors: {
custom: {
50: '#e0a1a1',
500: '#cf797b',
950: '#000000',
},
}SCSS
$custom: #cf797b; $custom-light: #e0a1a1; $custom-dark: #000000;
JSON
{
"hex": "#cf797b",
"rgb": {
"r": 207,
"g": 121,
"b": 123
},
"hsl": {
"h": 358.605,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67001,
"c": 0.10761,
"h": 18.8
},
"luminance": 0.2837
}Semantic roles & 50–950 ramp
primary
#CF797B
secondary
#C3E1E0
accent
#BBB72B
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0E
muted
#847F7E