#DF798E#DF798E
#DF798E is a light, vivid red. Relative luminance 0.313; OKLCH L 69.5% C 0.128 H 7.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #DF798E |
|---|---|
| RGB | rgb(223, 121, 142) |
| HSL | hsl(348, 61%, 67%) |
| HSV | hsv(348, 46%, 87%) |
| CMYK | cmyk(0%, 45.7%, 36.3%, 12.5%) |
| CIE-LAB | lab(62.78, 41.75, 6.54) |
| CIE-LCH | lch(62.78, 42.26, 8.90°) |
| OKLab | oklab(69.53% 0.1267 0.0174) |
| OKLCH | oklch(69.53% 0.128 7.8) |
| XYZ | xyz(42.1533, 31.3195, 29.4112) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Muted Pink
#D1768F
ΔE00 3.37
Dusky Pink
#CC7A8B
ΔE00 3.58
Ugly Pink
#CD7584
ΔE00 3.69
Palevioletred
#DB7093
ΔE00 4.15
Pinkish
#D46A7E
ΔE00 4.47
Old Pink
#C77986
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF798E #79DFCA
analogous
#DF79C1 #DF798E #DF9779
triadic
#DF798E #8EDF79 #798EDF
tetradic
#DF798E #C1DF79 #79DFCA #9779DF
square
#DF798E #C1DF79 #79DFCA #9779DF
split-complementary
#DF798E #79DF97 #79C1DF
monochromatic
#B32B47 #D34864 #DF798E #EBAAB8 #F7DCE1
Accessibility & contrast
On white
2.89
#DF798E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#DF798E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF798E
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF798E | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B8C8E
Deuteranopia (green-blind)
#A59F8C
Tritanopia (blue-blind)
#EF6F81
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #df798e; /* rgb */ color: rgb(223, 121, 142); /* oklch */ color: oklch(69.5% 0.128 7.8);
Tailwind
colors: {
custom: {
50: '#eca2af',
500: '#df798e',
950: '#000000',
},
}SCSS
$custom: #df798e; $custom-light: #eca2af; $custom-dark: #000000;
JSON
{
"hex": "#df798e",
"rgb": {
"r": 223,
"g": 121,
"b": 142
},
"hsl": {
"h": 347.647,
"s": 61.446,
"l": 67.451
},
"oklch": {
"l": 0.6953,
"c": 0.12788,
"h": 7.8
},
"luminance": 0.31316
}Semantic roles & 50–950 ramp
primary
#DF798E
secondary
#CAEAE3
accent
#C9A61C
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F10
muted
#857F7F