#DB42B0#DB42B0

#DB42B0 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.3% C 0.219 H 341.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#DB42B0
RGBrgb(219, 66, 176)
HSLhsl(317, 68%, 56%)
HSVhsv(317, 70%, 86%)
CMYKcmyk(0%, 69.9%, 19.6%, 14.1%)
CIE-LABlab(54.13, 69.27, -26.14)
CIE-LCHlch(54.13, 74.04, 339.33°)
OKLaboklab(63.35% 0.2072 -0.0703)
OKLCHoklch(63.35% 0.219 341.3)
XYZxyz(38.9993, 22.0949, 43.2767)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B0 #42DB6D
analogous
#BA42DB #DB42B0 #DB4263
triadic
#DB42B0 #B0DB42 #42B0DB
tetradic
#DB42B0 #DBBA42 #42DB6D #4263DB
square
#DB42B0 #DBBA42 #42DB6D #4263DB
split-complementary
#DB42B0 #63DB42 #42DBBA
monochromatic
#891A6A #BC2491 #DB42B0 #E575C5 #EFA9DB

Accessibility & contrast

On white

3.88
#DB42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#DB42B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B0#FFFFFF#000000##000000
##DB42B01.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B3
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#E84573
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db42b0;
/* rgb */ color: rgb(219, 66, 176);
/* oklch */ color: oklch(63.3% 0.219 341.3);
Tailwind
colors: {
  custom: {
    50: '#ea83c8',
    500: '#db42b0',
    950: '#000000',
  },
}
SCSS
$custom: #db42b0;
$custom-light: #ea83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b0",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 316.863,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63345,
    "c": 0.21876,
    "h": 341.3
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#DB42B0
secondary
#9DDCAF
accent
#EB6E3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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