#DB54A2#DB54A2

#DB54A2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.6% C 0.187 H 347.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DB54A2
RGBrgb(219, 84, 162)
HSLhsl(325, 65%, 59%)
HSVhsv(325, 62%, 86%)
CMYKcmyk(0%, 61.6%, 26%, 14.1%)
CIE-LABlab(56.10, 60.47, -14.95)
CIE-LCHlch(56.10, 62.29, 346.11°)
OKLaboklab(64.61% 0.1829 -0.0393)
OKLCHoklch(64.61% 0.187 347.9)
XYZxyz(38.9069, 24.0132, 36.7614)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54A2 #54DB8D
analogous
#D054DB #DB54A2 #DB545F
triadic
#DB54A2 #A2DB54 #54A2DB
tetradic
#DB54A2 #DBD054 #54DB8D #545FDB
square
#DB54A2 #DBD054 #54DB8D #545FDB
split-complementary
#DB54A2 #5FDB54 #54DBD0
monochromatic
#951F63 #C82A85 #DB54A2 #E687BD #F0B9D9

Accessibility & contrast

On white

3.62
#DB54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DB54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54A2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54A2#FFFFFF#000000##000000
##DB54A21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#8A8F9F
Tritanopia (blue-blind)
#E95074
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db54a2;
/* rgb */ color: rgb(219, 84, 162);
/* oklch */ color: oklch(64.6% 0.187 347.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bbd',
    500: '#db54a2',
    950: '#000000',
  },
}
SCSS
$custom: #db54a2;
$custom-light: #ea8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#db54a2",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 325.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.18709,
    "h": 347.9
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#DB54A2
secondary
#ABE0C1
accent
#E88740
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #DB54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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