#DC797D#DC797D
#DC797D is a light, vivid red. Relative luminance 0.304; OKLCH L 68.7% C 0.123 H 18.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #DC797D |
|---|---|
| RGB | rgb(220, 121, 125) |
| HSL | hsl(358, 59%, 67%) |
| HSV | hsv(358, 45%, 86%) |
| CMYK | cmyk(0%, 45%, 43.2%, 13.7%) |
| CIE-LAB | lab(61.98, 38.77, 15.07) |
| CIE-LCH | lch(61.98, 41.59, 21.24°) |
| OKLab | oklab(68.71% 0.117 0.0386) |
| OKLCH | oklch(68.71% 0.123 18.3) |
| XYZ | xyz(40.0565, 30.3748, 23.1514) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 3.77
Lightcoral
#F08080
ΔE00 4.24
Ugly Pink
#CD7584
ΔE00 5.22
Old Rose
#C87F89
ΔE00 5.65
Old Pink
#C77986
ΔE00 5.90
Pinkish
#D46A7E
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC797D #79DCD8
analogous
#DC79AF #DC797D #DCA779
triadic
#DC797D #7DDC79 #797DDC
tetradic
#DC797D #AFDC79 #79DCD8 #A779DC
square
#DC797D #AFDC79 #79DCD8 #A779DC
split-complementary
#DC797D #79DCA7 #79AFDC
monochromatic
#AD2D32 #CF484E #DC797D #E9AAAC #F5DADB
Accessibility & contrast
On white
2.97
#DC797D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#DC797D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC797D
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC797D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC797D | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D8A7D
Deuteranopia (green-blind)
#A69D7B
Tritanopia (blue-blind)
#ED6D7B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #dc797d; /* rgb */ color: rgb(220, 121, 125); /* oklch */ color: oklch(68.7% 0.123 18.3);
Tailwind
colors: {
custom: {
50: '#eaa1a2',
500: '#dc797d',
950: '#000000',
},
}SCSS
$custom: #dc797d; $custom-light: #eaa1a2; $custom-dark: #000000;
JSON
{
"hex": "#dc797d",
"rgb": {
"r": 220,
"g": 121,
"b": 125
},
"hsl": {
"h": 357.576,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.68708,
"c": 0.12316,
"h": 18.3
},
"luminance": 0.30371
}Semantic roles & 50–950 ramp
primary
#DC797D
secondary
#C9E8E7
accent
#C6BF1F
background
#FEFAF9
surface
#FDF4F2
border
#D5CECC
text
#170F0F
muted
#857F7E