#DB42BB#DB42BB

#DB42BB is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.8% C 0.226 H 337.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DB42BB
RGBrgb(219, 66, 187)
HSLhsl(313, 68%, 56%)
HSVhsv(313, 70%, 86%)
CMYKcmyk(0%, 69.9%, 14.6%, 14.1%)
CIE-LABlab(54.60, 70.78, -31.79)
CIE-LCHlch(54.60, 77.59, 335.82°)
OKLaboklab(63.85% 0.2088 -0.0863)
OKLCHoklch(63.85% 0.226 337.5)
XYZxyz(40.1320, 22.5480, 49.2427)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42BB #42DB62
analogous
#AE42DB #DB42BB #DB426E
triadic
#DB42BB #BBDB42 #42BBDB
tetradic
#DB42BB #DBAE42 #42DB62 #426EDB
square
#DB42BB #DBAE42 #42DB62 #426EDB
split-complementary
#DB42BB #6EDB42 #42DBAE
monochromatic
#891A71 #BC249C #DB42BB #E575CD #EFA9E0

Accessibility & contrast

On white

3.81
#DB42BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DB42BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42BB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42BB#FFFFFF#000000##000000
##DB42BB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#E74A79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db42bb;
/* rgb */ color: rgb(219, 66, 187);
/* oklch */ color: oklch(63.8% 0.226 337.5);
Tailwind
colors: {
  custom: {
    50: '#ea83d0',
    500: '#db42bb',
    950: '#000000',
  },
}
SCSS
$custom: #db42bb;
$custom-light: #ea83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#db42bb",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 312.549,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.22588,
    "h": 337.5
  },
  "luminance": 0.22544
}

Semantic roles & 50–950 ramp

primary
#DB42BB
secondary
#9DDCAA
accent
#EB613D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DB42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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