#DB42B1#DB42B1

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

Color values

HEX#DB42B1
RGBrgb(219, 66, 177)
HSLhsl(316, 68%, 56%)
HSVhsv(316, 70%, 86%)
CMYKcmyk(0%, 69.9%, 19.2%, 14.1%)
CIE-LABlab(54.17, 69.40, -26.66)
CIE-LCHlch(54.17, 74.35, 338.99°)
OKLaboklab(63.39% 0.2073 -0.0717)
OKLCHoklch(63.39% 0.219 340.9)
XYZxyz(39.0986, 22.1346, 43.7997)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B1 #42DB6C
analogous
#B942DB #DB42B1 #DB4264
triadic
#DB42B1 #B1DB42 #42B1DB
tetradic
#DB42B1 #DBB942 #42DB6C #4264DB
square
#DB42B1 #DBB942 #42DB6C #4264DB
split-complementary
#DB42B1 #64DB42 #42DBB9
monochromatic
#891A6A #BC2492 #DB42B1 #E575C6 #EFA9DB

Accessibility & contrast

On white

3.87
#DB42B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#DB42B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B1#FFFFFF#000000##000000
##DB42B11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B4
Deuteranopia (green-blind)
#7E8AAD
Tritanopia (blue-blind)
#E84574
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db42b1;
/* rgb */ color: rgb(219, 66, 177);
/* oklch */ color: oklch(63.4% 0.219 340.9);
Tailwind
colors: {
  custom: {
    50: '#ea83c8',
    500: '#db42b1',
    950: '#000000',
  },
}
SCSS
$custom: #db42b1;
$custom-light: #ea83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b1",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 316.471,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.21938,
    "h": 340.9
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#DB42B1
secondary
#9DDCAE
accent
#EB6D3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B1

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

Preview Lab → · Contrast checker → · Palette generator →

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