#CF798E#CF798E
#CF798E is a light, moderate red. Relative luminance 0.289; OKLCH L 67.5% C 0.110 H 4.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CF798E |
|---|---|
| RGB | rgb(207, 121, 142) |
| HSL | hsl(345, 47%, 64%) |
| HSV | hsv(345, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 31.4%, 18.8%) |
| CIE-LAB | lab(60.69, 36.01, 3.26) |
| CIE-LCH | lch(60.69, 36.16, 5.18°) |
| OKLab | oklab(67.51% 0.1091 0.009) |
| OKLCH | oklch(67.51% 0.11 4.7) |
| XYZ | xyz(37.4534, 28.8961, 29.1908) |
| Luminance | 0.2889 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Muted Pink
#D1768F
ΔE00 1.18
Dusky Pink
#CC7A8B
ΔE00 1.20
Ugly Pink
#CD7584
ΔE00 2.55
Old Pink
#C77986
ΔE00 2.67
Old Rose
#C87F89
ΔE00 3.56
Palevioletred
#DB7093
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF798E #79CFBA
analogous
#CF79B9 #CF798E #CF8F79
triadic
#CF798E #8ECF79 #798ECF
tetradic
#CF798E #B9CF79 #79CFBA #8F79CF
square
#CF798E #B9CF79 #79CFBA #8F79CF
split-complementary
#CF798E #79CF8F #79B9CF
monochromatic
#97364E #BF4C68 #CF798E #DFA6B4 #EFD3DA
Accessibility & contrast
On white
3.10
#CF798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#CF798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF798E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF798E | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87898F
Deuteranopia (green-blind)
#9C988C
Tritanopia (blue-blind)
#DD7280
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cf798e; /* rgb */ color: rgb(207, 121, 142); /* oklch */ color: oklch(67.5% 0.110 4.7);
Tailwind
colors: {
custom: {
50: '#e0a1af',
500: '#cf798e',
950: '#000000',
},
}SCSS
$custom: #cf798e; $custom-light: #e0a1af; $custom-dark: #000000;
JSON
{
"hex": "#cf798e",
"rgb": {
"r": 207,
"g": 121,
"b": 142
},
"hsl": {
"h": 345.349,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67508,
"c": 0.1095,
"h": 4.7
},
"luminance": 0.28893
}Semantic roles & 50–950 ramp
primary
#CF798E
secondary
#C3E1DA
accent
#BB972B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F10
muted
#847F7F