#CF798D#CF798D
#CF798D is a light, moderate red. Relative luminance 0.289; OKLCH L 67.5% C 0.109 H 5.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CF798D |
|---|---|
| RGB | rgb(207, 121, 141) |
| HSL | hsl(346, 47%, 64%) |
| HSV | hsv(346, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 31.9%, 18.8%) |
| CIE-LAB | lab(60.66, 35.88, 3.80) |
| CIE-LCH | lch(60.66, 36.08, 6.04°) |
| OKLab | oklab(67.48% 0.1088 0.0104) |
| OKLCH | oklch(67.48% 0.109 5.4) |
| XYZ | xyz(37.3786, 28.8662, 28.7972) |
| Luminance | 0.2886 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.95
Muted Pink
#D1768F
ΔE00 1.42
Ugly Pink
#CD7584
ΔE00 2.26
Old Pink
#C77986
ΔE00 2.42
Old Rose
#C87F89
ΔE00 3.32
Palevioletred
#DB7093
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF798D #79CFBB
analogous
#CF79B8 #CF798D #CF9079
triadic
#CF798D #8DCF79 #798DCF
tetradic
#CF798D #B8CF79 #79CFBB #9079CF
square
#CF798D #B8CF79 #79CFBB #9079CF
split-complementary
#CF798D #79CF90 #79B8CF
monochromatic
#97364D #BF4C67 #CF798D #DFA6B3 #EFD3DA
Accessibility & contrast
On white
3.10
#CF798D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#CF798D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF798D
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF798D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF798D | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87898E
Deuteranopia (green-blind)
#9C988B
Tritanopia (blue-blind)
#DD7280
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cf798d; /* rgb */ color: rgb(207, 121, 141); /* oklch */ color: oklch(67.5% 0.109 5.4);
Tailwind
colors: {
custom: {
50: '#e0a1ae',
500: '#cf798d',
950: '#000000',
},
}SCSS
$custom: #cf798d; $custom-light: #e0a1ae; $custom-dark: #000000;
JSON
{
"hex": "#cf798d",
"rgb": {
"r": 207,
"g": 121,
"b": 141
},
"hsl": {
"h": 346.047,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67479,
"c": 0.10925,
"h": 5.4
},
"luminance": 0.28863
}Semantic roles & 50–950 ramp
primary
#CF798D
secondary
#C3E1DA
accent
#BB992B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F10
muted
#847F7F