#DB2EB1#DB2EB1
#DB2EB1 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.9% C 0.240 H 340.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #DB2EB1 |
|---|---|
| RGB | rgb(219, 46, 177) |
| HSL | hsl(315, 71%, 52%) |
| HSV | hsv(315, 79%, 86%) |
| CMYK | cmyk(0%, 79%, 19.2%, 14.1%) |
| CIE-LAB | lab(52.05, 75.42, -29.94) |
| CIE-LCH | lch(52.05, 81.14, 338.35°) |
| OKLab | oklab(61.86% 0.2256 -0.0809) |
| OKLCH | oklch(61.86% 0.24 340.3) |
| XYZ | xyz(38.1274, 20.1923, 43.4760) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.93
Pinky Purple
#C94CBE
ΔE00 4.73
Hot Magenta
#F504C9
ΔE00 4.84
Purpleish Pink
#DF4EC8
ΔE00 5.77
Bright Pink
#FE01B1
ΔE00 5.99
Fuchsia (survey)
#ED0DD9
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB2EB1 #2EDB58
analogous
#AE2EDB #DB2EB1 #DB2E5B
triadic
#DB2EB1 #B1DB2E #2EB1DB
tetradic
#DB2EB1 #DBAE2E #2EDB58 #2E5BDB
square
#DB2EB1 #DBAE2E #2EDB58 #2E5BDB
split-complementary
#DB2EB1 #5BDB2E #2EDBAE
monochromatic
#7A1561 #AE1E8B #DB2EB1 #E462C4 #ED96D8
Accessibility & contrast
On white
4.17
#DB2EB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#DB2EB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB2EB1
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB2EB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB2EB1 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#7786AD
Tritanopia (blue-blind)
#E8346E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #db2eb1; /* rgb */ color: rgb(219, 46, 177); /* oklch */ color: oklch(61.9% 0.240 340.3);
Tailwind
colors: {
custom: {
50: '#eb7bc8',
500: '#db2eb1',
950: '#000000',
},
}SCSS
$custom: #db2eb1; $custom-light: #eb7bc8; $custom-dark: #000000;
JSON
{
"hex": "#db2eb1",
"rgb": {
"r": 219,
"g": 46,
"b": 177
},
"hsl": {
"h": 314.566,
"s": 70.612,
"l": 51.961
},
"oklch": {
"l": 0.61858,
"c": 0.23967,
"h": 340.3
},
"luminance": 0.20188
}Semantic roles & 50–950 ramp
primary
#DB2EB1
secondary
#8DD89F
accent
#ED663A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82