#CF798A#CF798A
#CF798A is a light, moderate red. Relative luminance 0.288; OKLCH L 67.4% C 0.109 H 7.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CF798A |
|---|---|
| RGB | rgb(207, 121, 138) |
| HSL | hsl(348, 47%, 64%) |
| HSV | hsv(348, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 33.3%, 18.8%) |
| CIE-LAB | lab(60.59, 35.49, 5.41) |
| CIE-LCH | lch(60.59, 35.90, 8.67°) |
| OKLab | oklab(67.39% 0.1076 0.0145) |
| OKLCH | oklch(67.39% 0.109 7.7) |
| XYZ | xyz(37.1584, 28.7781, 27.6375) |
| Luminance | 0.2878 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.74
Ugly Pink
#CD7584
ΔE00 1.47
Old Pink
#C77986
ΔE00 1.79
Muted Pink
#D1768F
ΔE00 2.30
Old Rose
#C87F89
ΔE00 2.70
Dirty Pink
#CA7B80
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF798A #79CFBE
analogous
#CF79B5 #CF798A #CF9379
triadic
#CF798A #8ACF79 #798ACF
tetradic
#CF798A #B5CF79 #79CFBE #9379CF
square
#CF798A #B5CF79 #79CFBE #9379CF
split-complementary
#CF798A #79CF93 #79B5CF
monochromatic
#973649 #BF4C63 #CF798A #DFA6B1 #EFD3D9
Accessibility & contrast
On white
3.11
#CF798A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#CF798A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF798A
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF798A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF798A | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#9D9888
Tritanopia (blue-blind)
#DD717F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cf798a; /* rgb */ color: rgb(207, 121, 138); /* oklch */ color: oklch(67.4% 0.109 7.7);
Tailwind
colors: {
custom: {
50: '#e0a1ac',
500: '#cf798a',
950: '#000000',
},
}SCSS
$custom: #cf798a; $custom-light: #e0a1ac; $custom-dark: #000000;
JSON
{
"hex": "#cf798a",
"rgb": {
"r": 207,
"g": 121,
"b": 138
},
"hsl": {
"h": 348.14,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67394,
"c": 0.10861,
"h": 7.7
},
"luminance": 0.28775
}Semantic roles & 50–950 ramp
primary
#CF798A
secondary
#C3E1DB
accent
#BB9E2B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F