#D54C81#D54C81

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

Color values

HEX#D54C81
RGBrgb(213, 76, 129)
HSLhsl(337, 62%, 57%)
HSVhsv(337, 64%, 84%)
CMYKcmyk(0%, 64.3%, 39.4%, 16.5%)
CIE-LABlab(52.84, 58.16, -0.43)
CIE-LCHlch(52.84, 58.16, 359.58°)
OKLaboklab(61.67% 0.1779 -0.0004)
OKLCHoklch(61.67% 0.178 359.9)
XYZxyz(33.9897, 20.9040, 23.0095)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54C81 #4CD5A0
analogous
#D54CC6 #D54C81 #D55C4C
triadic
#D54C81 #81D54C #4C81D5
tetradic
#D54C81 #C6D54C #4CD5A0 #5C4CD5
square
#D54C81 #C6D54C #4CD5A0 #5C4CD5
split-complementary
#D54C81 #4CD55C #4CC6D5
monochromatic
#872048 #B92B62 #D54C81 #E17EA4 #ECAFC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54C81#FFFFFF#000000##000000
##D54C811.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)
#666E82
Deuteranopia (green-blind)
#8B887E
Tritanopia (blue-blind)
#E63E61
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54c81;
/* rgb */ color: rgb(213, 76, 129);
/* oklch */ color: oklch(61.7% 0.178 359.9);
Tailwind
colors: {
  custom: {
    50: '#e786a5',
    500: '#d54c81',
    950: '#000000',
  },
}
SCSS
$custom: #d54c81;
$custom-light: #e786a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54c81",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 336.788,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61667,
    "c": 0.17785,
    "h": 359.9
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#D54C81
secondary
#A2DAC5
accent
#E5A643
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D54C81

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

Preview Lab → · Contrast checker → · Palette generator →

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