#DB42A7#DB42A7

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

Color values

HEX#DB42A7
RGBrgb(219, 66, 167)
HSLhsl(320, 68%, 56%)
HSVhsv(320, 70%, 86%)
CMYKcmyk(0%, 69.9%, 23.7%, 14.1%)
CIE-LABlab(53.76, 68.09, -21.44)
CIE-LCHlch(53.76, 71.39, 342.52°)
OKLaboklab(62.96% 0.2055 -0.0571)
OKLCHoklch(62.96% 0.213 344.5)
XYZxyz(38.1381, 21.7505, 38.7415)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42A7 #42DB76
analogous
#C242DB #DB42A7 #DB425A
triadic
#DB42A7 #A7DB42 #42A7DB
tetradic
#DB42A7 #DBC242 #42DB76 #425ADB
square
#DB42A7 #DBC242 #42DB76 #425ADB
split-complementary
#DB42A7 #5ADB42 #42DBC2
monochromatic
#891A63 #BC2488 #DB42A7 #E575BF #EFA9D7

Accessibility & contrast

On white

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

On black

5.35
#DB42A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42A7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42A7#FFFFFF#000000##000000
##DB42A71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#818AA3
Tritanopia (blue-blind)
#E9416F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db42a7;
/* rgb */ color: rgb(219, 66, 167);
/* oklch */ color: oklch(63.0% 0.213 344.5);
Tailwind
colors: {
  custom: {
    50: '#ea82c1',
    500: '#db42a7',
    950: '#000000',
  },
}
SCSS
$custom: #db42a7;
$custom-light: #ea82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#db42a7",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 320.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62958,
    "c": 0.21331,
    "h": 344.5
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#DB42A7
secondary
#9DDCB2
accent
#EB783D
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DB42A7

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

Preview Lab → · Contrast checker → · Palette generator →

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