#DB42B6#DB42B6

#DB42B6 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.223 H 339.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DB42B6
RGBrgb(219, 66, 182)
HSLhsl(315, 68%, 56%)
HSVhsv(315, 70%, 86%)
CMYKcmyk(0%, 69.9%, 16.9%, 14.1%)
CIE-LABlab(54.38, 70.08, -29.23)
CIE-LCHlch(54.38, 75.94, 337.36°)
OKLaboklab(63.61% 0.2081 -0.079)
OKLCHoklch(63.61% 0.223 339.2)
XYZxyz(39.6061, 22.3376, 46.4726)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B6 #42DB67
analogous
#B342DB #DB42B6 #DB4269
triadic
#DB42B6 #B6DB42 #42B6DB
tetradic
#DB42B6 #DBB342 #42DB67 #4269DB
square
#DB42B6 #DBB342 #42DB67 #4269DB
split-complementary
#DB42B6 #69DB42 #42DBB3
monochromatic
#891A6E #BC2497 #DB42B6 #E575CA #EFA9DE

Accessibility & contrast

On white

3.84
#DB42B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DB42B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B6#FFFFFF#000000##000000
##DB42B61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73B9
Deuteranopia (green-blind)
#7C8BB2
Tritanopia (blue-blind)
#E74877
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db42b6;
/* rgb */ color: rgb(219, 66, 182);
/* oklch */ color: oklch(63.6% 0.223 339.2);
Tailwind
colors: {
  custom: {
    50: '#ea83cc',
    500: '#db42b6',
    950: '#000000',
  },
}
SCSS
$custom: #db42b6;
$custom-light: #ea83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b6",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 314.51,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.22258,
    "h": 339.2
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#DB42B6
secondary
#9DDCAC
accent
#EB673D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B6

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

Preview Lab → · Contrast checker → · Palette generator →

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