#D54A8B#D54A8B

#D54A8B is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.184 H 355.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D54A8B
RGBrgb(213, 74, 139)
HSLhsl(332, 62%, 56%)
HSVhsv(332, 65%, 84%)
CMYKcmyk(0%, 65.3%, 34.7%, 16.5%)
CIE-LABlab(52.85, 60.07, -6.37)
CIE-LCHlch(52.85, 60.40, 353.94°)
OKLaboklab(61.77% 0.1836 -0.016)
OKLCHoklch(61.77% 0.184 355)
XYZxyz(34.5515, 20.9117, 26.6379)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A8B #4AD594
analogous
#D54AD1 #D54A8B #D54F4A
triadic
#D54A8B #8BD54A #4A8BD5
tetradic
#D54A8B #D1D54A #4AD594 #4F4AD5
square
#D54A8B #D1D54A #4AD594 #4F4AD5
split-complementary
#D54A8B #4AD54F #4AD1D5
monochromatic
#861F4F #B72B6C #D54A8B #E17CAB #ECADCB

Accessibility & contrast

On white

4.05
#D54A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D54A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A8B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A8B#FFFFFF#000000##000000
##D54A8B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#E53F65
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54a8b;
/* rgb */ color: rgb(213, 74, 139);
/* oklch */ color: oklch(61.8% 0.184 355.0);
Tailwind
colors: {
  custom: {
    50: '#e685ac',
    500: '#d54a8b',
    950: '#000000',
  },
}
SCSS
$custom: #d54a8b;
$custom-light: #e685ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a8b",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 331.942,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.18428,
    "h": 355
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#D54A8B
secondary
#A1DABF
accent
#E59942
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D54A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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