#DB42B4#DB42B4

#DB42B4 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.5% C 0.221 H 339.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#DB42B4
RGBrgb(219, 66, 180)
HSLhsl(315, 68%, 56%)
HSVhsv(315, 70%, 86%)
CMYKcmyk(0%, 69.9%, 17.8%, 14.1%)
CIE-LABlab(54.30, 69.81, -28.20)
CIE-LCHlch(54.30, 75.29, 338.00°)
OKLaboklab(63.52% 0.2078 -0.0761)
OKLCHoklch(63.52% 0.221 339.9)
XYZxyz(39.4009, 22.2555, 45.3919)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B4 #42DB69
analogous
#B542DB #DB42B4 #DB4267
triadic
#DB42B4 #B4DB42 #42B4DB
tetradic
#DB42B4 #DBB542 #42DB69 #4267DB
square
#DB42B4 #DBB542 #42DB69 #4267DB
split-complementary
#DB42B4 #67DB42 #42DBB5
monochromatic
#891A6C #BC2495 #DB42B4 #E575C8 #EFA9DD

Accessibility & contrast

On white

3.85
#DB42B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#DB42B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B4#FFFFFF#000000##000000
##DB42B41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#7C8BB0
Tritanopia (blue-blind)
#E84776
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db42b4;
/* rgb */ color: rgb(219, 66, 180);
/* oklch */ color: oklch(63.5% 0.221 339.9);
Tailwind
colors: {
  custom: {
    50: '#ea83ca',
    500: '#db42b4',
    950: '#000000',
  },
}
SCSS
$custom: #db42b4;
$custom-light: #ea83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b4",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 315.294,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.22129,
    "h": 339.9
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#DB42B4
secondary
#9DDCAD
accent
#EB693D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B4

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

Preview Lab → · Contrast checker → · Palette generator →

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