#D54D8F#D54D8F

#D54D8F is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.182 H 353.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D54D8F
RGBrgb(213, 77, 143)
HSLhsl(331, 62%, 57%)
HSVhsv(331, 64%, 84%)
CMYKcmyk(0%, 63.8%, 32.9%, 16.5%)
CIE-LABlab(53.43, 59.31, -7.89)
CIE-LCHlch(53.43, 59.83, 352.42°)
OKLaboklab(62.24% 0.181 -0.0201)
OKLCHoklch(62.24% 0.182 353.7)
XYZxyz(35.0542, 21.4409, 28.2737)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D8F #4DD593
analogous
#D54DD3 #D54D8F #D54F4D
triadic
#D54D8F #8FD54D #4D8FD5
tetradic
#D54D8F #D3D54D #4DD593 #4F4DD5
square
#D54D8F #D3D54D #4DD593 #4F4DD5
split-complementary
#D54D8F #4DD54F #4DD3D5
monochromatic
#882052 #B92C70 #D54D8F #E17FAE #ECB0CD

Accessibility & contrast

On white

3.97
#D54D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D54D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D8F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D8F#FFFFFF#000000##000000
##D54D8F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#88898C
Tritanopia (blue-blind)
#E54468
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54d8f;
/* rgb */ color: rgb(213, 77, 143);
/* oklch */ color: oklch(62.2% 0.182 353.7);
Tailwind
colors: {
  custom: {
    50: '#e687af',
    500: '#d54d8f',
    950: '#000000',
  },
}
SCSS
$custom: #d54d8f;
$custom-light: #e687af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d8f",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 330.882,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.18207,
    "h": 353.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#D54D8F
secondary
#A3DBC0
accent
#E59643
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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