#DB2EB2#DB2EB2

#DB2EB2 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.9% C 0.240 H 340.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#DB2EB2
RGBrgb(219, 46, 178)
HSLhsl(314, 71%, 52%)
HSVhsv(314, 79%, 86%)
CMYKcmyk(0%, 79%, 18.7%, 14.1%)
CIE-LABlab(52.10, 75.55, -30.45)
CIE-LCHlch(52.10, 81.45, 338.04°)
OKLaboklab(61.91% 0.2257 -0.0824)
OKLCHoklch(61.91% 0.24 340)
XYZxyz(38.2274, 20.2323, 44.0029)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB2EB2 #2EDB57
analogous
#AE2EDB #DB2EB2 #DB2E5B
triadic
#DB2EB2 #B2DB2E #2EB2DB
tetradic
#DB2EB2 #DBAE2E #2EDB57 #2E5BDB
square
#DB2EB2 #DBAE2E #2EDB57 #2E5BDB
split-complementary
#DB2EB2 #5BDB2E #2EDBAE
monochromatic
#7A1562 #AE1E8C #DB2EB2 #E462C5 #ED96D8

Accessibility & contrast

On white

4.16
#DB2EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#DB2EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB2EB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB2EB2#FFFFFF#000000##000000
##DB2EB21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#E8356F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db2eb2;
/* rgb */ color: rgb(219, 46, 178);
/* oklch */ color: oklch(61.9% 0.240 340.0);
Tailwind
colors: {
  custom: {
    50: '#eb7bc9',
    500: '#db2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #db2eb2;
$custom-light: #eb7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#db2eb2",
  "rgb": {
    "r": 219,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 314.22,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.24027,
    "h": 340
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#DB2EB2
secondary
#8DD89E
accent
#ED653A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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