#DB2FB2#DB2FB2
#DB2FB2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 62.0% C 0.239 H 340.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #DB2FB2 |
|---|---|
| RGB | rgb(219, 47, 178) |
| HSL | hsl(314, 70%, 52%) |
| HSV | hsv(314, 79%, 86%) |
| CMYK | cmyk(0%, 78.5%, 18.7%, 14.1%) |
| CIE-LAB | lab(52.19, 75.29, -30.32) |
| CIE-LCH | lch(52.19, 81.17, 338.07°) |
| OKLab | oklab(61.97% 0.225 -0.082) |
| OKLCH | oklch(61.97% 0.239 340) |
| XYZ | xyz(38.2670, 20.3114, 44.0160) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.85
Pinky Purple
#C94CBE
ΔE00 4.58
Hot Magenta
#F504C9
ΔE00 4.72
Purpleish Pink
#DF4EC8
ΔE00 5.59
Bright Pink
#FE01B1
ΔE00 6.00
Fuchsia (survey)
#ED0DD9
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB2FB2 #2FDB58
analogous
#AE2FDB #DB2FB2 #DB2F5C
triadic
#DB2FB2 #B2DB2F #2FB2DB
tetradic
#DB2FB2 #DBAE2F #2FDB58 #2F5CDB
square
#DB2FB2 #DBAE2F #2FDB58 #2F5CDB
split-complementary
#DB2FB2 #5CDB2F #2FDBAE
monochromatic
#7A1562 #AF1E8C #DB2FB2 #E463C5 #ED97D9
Accessibility & contrast
On white
4.15
#DB2FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#DB2FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB2FB2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB2FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB2FB2 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#E8366F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #db2fb2; /* rgb */ color: rgb(219, 47, 178); /* oklch */ color: oklch(62.0% 0.239 340.0);
Tailwind
colors: {
custom: {
50: '#eb7bc9',
500: '#db2fb2',
950: '#000000',
},
}SCSS
$custom: #db2fb2; $custom-light: #eb7bc9; $custom-dark: #000000;
JSON
{
"hex": "#db2fb2",
"rgb": {
"r": 219,
"g": 47,
"b": 178
},
"hsl": {
"h": 314.302,
"s": 70.492,
"l": 52.157
},
"oklch": {
"l": 0.61969,
"c": 0.23942,
"h": 340
},
"luminance": 0.20307
}Semantic roles & 50–950 ramp
primary
#DB2FB2
secondary
#8DD89F
accent
#ED653B
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82