#DB42B7#DB42B7

#DB42B7 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.223 H 338.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#DB42B7
RGBrgb(219, 66, 183)
HSLhsl(314, 68%, 56%)
HSVhsv(314, 70%, 86%)
CMYKcmyk(0%, 69.9%, 16.4%, 14.1%)
CIE-LABlab(54.43, 70.22, -29.74)
CIE-LCHlch(54.43, 76.26, 337.04°)
OKLaboklab(63.66% 0.2082 -0.0805)
OKLCHoklch(63.66% 0.223 338.9)
XYZxyz(39.7098, 22.3791, 47.0188)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B7 #42DB66
analogous
#B342DB #DB42B7 #DB426A
triadic
#DB42B7 #B7DB42 #42B7DB
tetradic
#DB42B7 #DBB342 #42DB66 #426ADB
square
#DB42B7 #DBB342 #42DB66 #426ADB
split-complementary
#DB42B7 #6ADB42 #42DBB3
monochromatic
#891A6F #BC2498 #DB42B7 #E575CB #EFA9DE

Accessibility & contrast

On white

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

On black

5.48
#DB42B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B7#FFFFFF#000000##000000
##DB42B71.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db42b7;
/* rgb */ color: rgb(219, 66, 183);
/* oklch */ color: oklch(63.7% 0.223 338.9);
Tailwind
colors: {
  custom: {
    50: '#ea83cd',
    500: '#db42b7',
    950: '#000000',
  },
}
SCSS
$custom: #db42b7;
$custom-light: #ea83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b7",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 314.118,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6366,
    "c": 0.22323,
    "h": 338.9
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#DB42B7
secondary
#9DDCAC
accent
#EB663D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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