#DC798F#DC798F
#DC798F is a light, vivid red. Relative luminance 0.309; OKLCH L 69.2% C 0.125 H 6.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #DC798F |
|---|---|
| RGB | rgb(220, 121, 143) |
| HSL | hsl(347, 59%, 67%) |
| HSV | hsv(347, 45%, 86%) |
| CMYK | cmyk(0%, 45%, 35%, 13.7%) |
| CIE-LAB | lab(62.40, 40.80, 5.38) |
| CIE-LCH | lch(62.40, 41.15, 7.51°) |
| OKLab | oklab(69.17% 0.1238 0.0145) |
| OKLCH | oklch(69.17% 0.125 6.7) |
| XYZ | xyz(41.3124, 30.8772, 29.7654) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Muted Pink
#D1768F
ΔE00 2.63
Dusky Pink
#CC7A8B
ΔE00 3.06
Ugly Pink
#CD7584
ΔE00 3.42
Palevioletred
#DB7093
ΔE00 3.63
Dull Pink
#D5869D
ΔE00 4.29
Old Pink
#C77986
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC798F #79DCC6
analogous
#DC79C0 #DC798F #DC9579
triadic
#DC798F #8FDC79 #798FDC
tetradic
#DC798F #C0DC79 #79DCC6 #9579DC
square
#DC798F #C0DC79 #79DCC6 #9579DC
split-complementary
#DC798F #79DC95 #79C0DC
monochromatic
#AD2D4A #CF4866 #DC798F #E9AAB8 #F5DAE0
Accessibility & contrast
On white
2.93
#DC798F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#DC798F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC798F
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC798F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC798F | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A8B90
Deuteranopia (green-blind)
#A39E8D
Tritanopia (blue-blind)
#EC7081
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #dc798f; /* rgb */ color: rgb(220, 121, 143); /* oklch */ color: oklch(69.2% 0.125 6.7);
Tailwind
colors: {
custom: {
50: '#eaa2af',
500: '#dc798f',
950: '#000000',
},
}SCSS
$custom: #dc798f; $custom-light: #eaa2af; $custom-dark: #000000;
JSON
{
"hex": "#dc798f",
"rgb": {
"r": 220,
"g": 121,
"b": 143
},
"hsl": {
"h": 346.667,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.69173,
"c": 0.12465,
"h": 6.7
},
"luminance": 0.30874
}Semantic roles & 50–950 ramp
primary
#DC798F
secondary
#C9E8E1
accent
#C6A11F
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F