#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
RGBrgb(219, 46, 177)
HSLhsl(315, 71%, 52%)
HSVhsv(315, 79%, 86%)
CMYKcmyk(0%, 79%, 19.2%, 14.1%)
CIE-LABlab(52.05, 75.42, -29.94)
CIE-LCHlch(52.05, 81.14, 338.35°)
OKLaboklab(61.86% 0.2256 -0.0809)
OKLCHoklch(61.86% 0.24 340.3)
XYZxyz(38.1274, 20.1923, 43.4760)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##DB2EB11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.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

Preview Lab

Preview with #DB2EB1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DB2EB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva