#DB42A6#DB42A6

#DB42A6 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 62.9% C 0.213 H 344.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DB42A6
RGBrgb(219, 66, 166)
HSLhsl(321, 68%, 56%)
HSVhsv(321, 70%, 86%)
CMYKcmyk(0%, 69.9%, 24.2%, 14.1%)
CIE-LABlab(53.72, 67.97, -20.92)
CIE-LCHlch(53.72, 71.11, 342.89°)
OKLaboklab(62.92% 0.2053 -0.0556)
OKLCHoklch(62.92% 0.213 344.8)
XYZxyz(38.0460, 21.7136, 38.2565)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42A6 #42DB77
analogous
#C342DB #DB42A6 #DB4259
triadic
#DB42A6 #A6DB42 #42A6DB
tetradic
#DB42A6 #DBC342 #42DB77 #4259DB
square
#DB42A6 #DBC342 #42DB77 #4259DB
split-complementary
#DB42A6 #59DB42 #42DBC3
monochromatic
#891A62 #BC2487 #DB42A6 #E575BE #EFA9D6

Accessibility & contrast

On white

3.93
#DB42A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DB42A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42A6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42A6#FFFFFF#000000##000000
##DB42A61.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370A9
Deuteranopia (green-blind)
#818AA2
Tritanopia (blue-blind)
#E9406E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db42a6;
/* rgb */ color: rgb(219, 66, 166);
/* oklch */ color: oklch(62.9% 0.213 344.8);
Tailwind
colors: {
  custom: {
    50: '#ea82c0',
    500: '#db42a6',
    950: '#000000',
  },
}
SCSS
$custom: #db42a6;
$custom-light: #ea82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#db42a6",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 320.784,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62916,
    "c": 0.21273,
    "h": 344.8
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#DB42A6
secondary
#9DDCB3
accent
#EB793D
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DB42A6

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

Preview Lab → · Contrast checker → · Palette generator →

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