#DC799E#DC799E
#DC799E is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.6% C 0.129 H 357.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #DC799E |
|---|---|
| RGB | rgb(220, 121, 158) |
| HSL | hsl(338, 59%, 67%) |
| HSV | hsv(338, 45%, 86%) |
| CMYK | cmyk(0%, 45%, 28.2%, 13.7%) |
| CIE-LAB | lab(62.81, 42.71, -2.61) |
| CIE-LCH | lch(62.81, 42.79, 356.50°) |
| OKLab | oklab(69.62% 0.1291 -0.0063) |
| OKLCH | oklch(69.62% 0.129 357.2) |
| XYZ | xyz(42.5256, 31.3625, 36.1550) |
| Luminance | 0.3136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 2.69
Muted Pink
#D1768F
ΔE00 3.73
Dull Pink
#D5869D
ΔE00 4.19
Dusky Pink
#CC7A8B
ΔE00 5.66
Medium Pink
#F36196
ΔE00 5.75
Pig Pink
#E78EA5
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC799E #79DCB7
analogous
#DC79D0 #DC799E #DC8679
triadic
#DC799E #9EDC79 #799EDC
tetradic
#DC799E #D0DC79 #79DCB7 #8679DC
square
#DC799E #D0DC79 #79DCB7 #8679DC
split-complementary
#DC799E #79DC86 #79D0DC
monochromatic
#AD2D5D #CF487B #DC799E #E9AAC1 #F5DAE4
Accessibility & contrast
On white
2.89
#DC799E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#DC799E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC799E
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC799E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC799E | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868D9F
Deuteranopia (green-blind)
#A09F9C
Tritanopia (blue-blind)
#EA7386
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #dc799e; /* rgb */ color: rgb(220, 121, 158); /* oklch */ color: oklch(69.6% 0.129 357.2);
Tailwind
colors: {
custom: {
50: '#e9a2ba',
500: '#dc799e',
950: '#000000',
},
}SCSS
$custom: #dc799e; $custom-light: #e9a2ba; $custom-dark: #000000;
JSON
{
"hex": "#dc799e",
"rgb": {
"r": 220,
"g": 121,
"b": 158
},
"hsl": {
"h": 337.576,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.69617,
"c": 0.1293,
"h": 357.2
},
"luminance": 0.31359
}Semantic roles & 50–950 ramp
primary
#DC799E
secondary
#C9E8DC
accent
#C6881F
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80