#D54C8A#D54C8A

#D54C8A is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.181 H 355.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D54C8A
RGBrgb(213, 76, 138)
HSLhsl(333, 62%, 57%)
HSVhsv(333, 64%, 84%)
CMYKcmyk(0%, 64.3%, 35.2%, 16.5%)
CIE-LABlab(53.12, 59.14, -5.39)
CIE-LCHlch(53.12, 59.39, 354.80°)
OKLaboklab(61.96% 0.1807 -0.0134)
OKLCHoklch(61.96% 0.181 355.7)
XYZxyz(34.6145, 21.1539, 26.3001)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54C8A #4CD597
analogous
#D54CCE #D54C8A #D5534C
triadic
#D54C8A #8AD54C #4C8AD5
tetradic
#D54C8A #CED54C #4CD597 #534CD5
square
#D54C8A #CED54C #4CD597 #534CD5
split-complementary
#D54C8A #4CD553 #4CCED5
monochromatic
#87204E #B92B6B #D54C8A #E17EAA #ECAFCB

Accessibility & contrast

On white

4.02
#D54C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D54C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54C8A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54C8A#FFFFFF#000000##000000
##D54C8A1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#898887
Tritanopia (blue-blind)
#E54165
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54c8a;
/* rgb */ color: rgb(213, 76, 138);
/* oklch */ color: oklch(62.0% 0.181 355.7);
Tailwind
colors: {
  custom: {
    50: '#e686ac',
    500: '#d54c8a',
    950: '#000000',
  },
}
SCSS
$custom: #d54c8a;
$custom-light: #e686ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d54c8a",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 332.847,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.18123,
    "h": 355.7
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#D54C8A
secondary
#A2DAC1
accent
#E59C43
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D54C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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