#D54E8F#D54E8F

#D54E8F is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.181 H 353.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D54E8F
RGBrgb(213, 78, 143)
HSLhsl(331, 62%, 57%)
HSVhsv(331, 63%, 84%)
CMYKcmyk(0%, 63.4%, 32.9%, 16.5%)
CIE-LABlab(53.58, 58.89, -7.67)
CIE-LCHlch(53.58, 59.39, 352.58°)
OKLaboklab(62.36% 0.1797 -0.0195)
OKLCHoklch(62.36% 0.181 353.8)
XYZxyz(35.1247, 21.5819, 28.2972)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54E8F #4ED594
analogous
#D54ED3 #D54E8F #D5514E
triadic
#D54E8F #8FD54E #4E8FD5
tetradic
#D54E8F #D3D54E #4ED594 #514ED5
square
#D54E8F #D3D54E #4ED594 #514ED5
split-complementary
#D54E8F #4ED551 #4ED3D5
monochromatic
#882052 #BA2C70 #D54E8F #E17FAE #ECB1CE

Accessibility & contrast

On white

3.95
#D54E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D54E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54E8F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54E8F#FFFFFF#000000##000000
##D54E8F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d54e8f;
/* rgb */ color: rgb(213, 78, 143);
/* oklch */ color: oklch(62.4% 0.181 353.8);
Tailwind
colors: {
  custom: {
    50: '#e687af',
    500: '#d54e8f',
    950: '#000000',
  },
}
SCSS
$custom: #d54e8f;
$custom-light: #e687af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54e8f",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 331.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62355,
    "c": 0.18072,
    "h": 353.8
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#D54E8F
secondary
#A4DBC0
accent
#E59743
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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