#DB54B2#DB54B2

#DB54B2 is a light, vivid pink. Relative luminance 0.246; OKLCH L 65.3% C 0.197 H 341.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DB54B2
RGBrgb(219, 84, 178)
HSLhsl(318, 65%, 59%)
HSVhsv(318, 62%, 86%)
CMYKcmyk(0%, 61.6%, 18.7%, 14.1%)
CIE-LABlab(56.70, 62.63, -23.33)
CIE-LCHlch(56.70, 66.84, 339.57°)
OKLaboklab(65.25% 0.1866 -0.0625)
OKLCHoklch(65.25% 0.197 341.5)
XYZxyz(40.4206, 24.6187, 44.7339)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54B2 #54DB7D
analogous
#C054DB #DB54B2 #DB546F
triadic
#DB54B2 #B2DB54 #54B2DB
tetradic
#DB54B2 #DBC054 #54DB7D #546FDB
square
#DB54B2 #DBC054 #54DB7D #546FDB
split-complementary
#DB54B2 #6FDB54 #54DBC0
monochromatic
#951F71 #C82A98 #DB54B2 #E687C9 #F0B9E0

Accessibility & contrast

On white

3.55
#DB54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DB54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54B2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54B2#FFFFFF#000000##000000
##DB54B21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#E7567C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db54b2;
/* rgb */ color: rgb(219, 84, 178);
/* oklch */ color: oklch(65.3% 0.197 341.5);
Tailwind
colors: {
  custom: {
    50: '#ea8cc9',
    500: '#db54b2',
    950: '#000000',
  },
}
SCSS
$custom: #db54b2;
$custom-light: #ea8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#db54b2",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 318.222,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65253,
    "c": 0.1968,
    "h": 341.5
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#DB54B2
secondary
#ABE0BB
accent
#E87340
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DB54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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