#D54B8A#D54B8A

#D54B8A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.183 H 355.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D54B8A
RGBrgb(213, 75, 138)
HSLhsl(333, 62%, 56%)
HSVhsv(333, 65%, 84%)
CMYKcmyk(0%, 64.8%, 35.2%, 16.5%)
CIE-LABlab(52.97, 59.55, -5.61)
CIE-LCHlch(52.97, 59.81, 354.62°)
OKLaboklab(61.85% 0.182 -0.014)
OKLCHoklch(61.85% 0.183 355.6)
XYZxyz(34.5461, 21.0171, 26.2773)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54B8A #4BD596
analogous
#D54BCF #D54B8A #D5514B
triadic
#D54B8A #8AD54B #4B8AD5
tetradic
#D54B8A #CFD54B #4BD596 #514BD5
square
#D54B8A #CFD54B #4BD596 #514BD5
split-complementary
#D54B8A #4BD551 #4BCFD5
monochromatic
#861F4E #B82B6B #D54B8A #E17DAA #ECAECB

Accessibility & contrast

On white

4.04
#D54B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D54B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54B8A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54B8A#FFFFFF#000000##000000
##D54B8A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#888887
Tritanopia (blue-blind)
#E54065
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54b8a;
/* rgb */ color: rgb(213, 75, 138);
/* oklch */ color: oklch(61.8% 0.183 355.6);
Tailwind
colors: {
  custom: {
    50: '#e685ac',
    500: '#d54b8a',
    950: '#000000',
  },
}
SCSS
$custom: #d54b8a;
$custom-light: #e685ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d54b8a",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 332.609,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.18255,
    "h": 355.6
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#D54B8A
secondary
#A2DAC0
accent
#E59B43
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D54B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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