#DB42B3#DB42B3

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

Color values

HEX#DB42B3
RGBrgb(219, 66, 179)
HSLhsl(316, 68%, 56%)
HSVhsv(316, 70%, 86%)
CMYKcmyk(0%, 69.9%, 18.3%, 14.1%)
CIE-LABlab(54.25, 69.67, -27.69)
CIE-LCHlch(54.25, 74.97, 338.33°)
OKLaboklab(63.48% 0.2076 -0.0747)
OKLCHoklch(63.48% 0.221 340.2)
XYZxyz(39.2994, 22.2149, 44.8573)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B3 #42DB6A
analogous
#B642DB #DB42B3 #DB4266
triadic
#DB42B3 #B3DB42 #42B3DB
tetradic
#DB42B3 #DBB642 #42DB6A #4266DB
square
#DB42B3 #DBB642 #42DB6A #4266DB
split-complementary
#DB42B3 #66DB42 #42DBB6
monochromatic
#891A6C #BC2494 #DB42B3 #E575C8 #EFA9DC

Accessibility & contrast

On white

3.86
#DB42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#DB42B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B3#FFFFFF#000000##000000
##DB42B31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#E84675
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db42b3;
/* rgb */ color: rgb(219, 66, 179);
/* oklch */ color: oklch(63.5% 0.221 340.2);
Tailwind
colors: {
  custom: {
    50: '#ea83ca',
    500: '#db42b3',
    950: '#000000',
  },
}
SCSS
$custom: #db42b3;
$custom-light: #ea83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b3",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 315.686,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63478,
    "c": 0.22065,
    "h": 340.2
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB42B3

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

Preview Lab → · Contrast checker → · Palette generator →

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