#DB7EC2#DB7EC2
#DB7EC2 is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.5% C 0.142 H 337.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #DB7EC2 |
|---|---|
| RGB | rgb(219, 126, 194) |
| HSL | hsl(316, 56%, 68%) |
| HSV | hsv(316, 42%, 86%) |
| CMYK | cmyk(0%, 42.5%, 11.4%, 14.1%) |
| CIE-LAB | lab(64.87, 45.17, -19.97) |
| CIE-LCH | lch(64.87, 49.39, 336.14°) |
| OKLab | oklab(71.52% 0.1314 -0.0535) |
| OKLCH | oklch(71.52% 0.142 337.8) |
| XYZ | xyz(46.4120, 33.8796, 55.1233) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.11
Orchid (survey)
#C875C4
ΔE00 5.06
Pale Magenta
#D767AD
ΔE00 5.78
Orchid
#DA70D6
ΔE00 6.04
Bubblegum Pink
#FE83CC
ΔE00 6.08
Purply Pink
#F075E6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB7EC2 #7EDB97
analogous
#C67EDB #DB7EC2 #DB7E93
triadic
#DB7EC2 #C2DB7E #7EC2DB
tetradic
#DB7EC2 #DBC67E #7EDB97 #7E93DB
square
#DB7EC2 #DBC67E #7EDB97 #7E93DB
split-complementary
#DB7EC2 #93DB7E #7EDBC6
monochromatic
#AE318C #CE4EAB #DB7EC2 #E8AED9 #F6DEEF
Accessibility & contrast
On white
2.70
#DB7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#DB7EC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DB7EC2
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB7EC2 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#99A3BF
Tritanopia (blue-blind)
#E48197
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #db7ec2; /* rgb */ color: rgb(219, 126, 194); /* oklch */ color: oklch(71.5% 0.142 337.8);
Tailwind
colors: {
custom: {
50: '#e8a5d4',
500: '#db7ec2',
950: '#000000',
},
}SCSS
$custom: #db7ec2; $custom-light: #e8a5d4; $custom-dark: #000000;
JSON
{
"hex": "#db7ec2",
"rgb": {
"r": 219,
"g": 126,
"b": 194
},
"hsl": {
"h": 316.129,
"s": 56.364,
"l": 67.647
},
"oklch": {
"l": 0.71523,
"c": 0.1419,
"h": 337.8
},
"luminance": 0.33877
}Semantic roles & 50–950 ramp
primary
#DB7EC2
secondary
#CCE9D4
accent
#C44D22
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83