#D54F8F#D54F8F

#D54F8F is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.179 H 353.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D54F8F
RGBrgb(213, 79, 143)
HSLhsl(331, 61%, 57%)
HSVhsv(331, 63%, 84%)
CMYKcmyk(0%, 62.9%, 32.9%, 16.5%)
CIE-LABlab(53.73, 58.47, -7.44)
CIE-LCHlch(53.73, 58.94, 352.75°)
OKLaboklab(62.47% 0.1784 -0.0189)
OKLCHoklch(62.47% 0.179 353.9)
XYZxyz(35.1963, 21.7251, 28.3211)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F8F #4FD595
analogous
#D54FD2 #D54F8F #D5524F
triadic
#D54F8F #8FD54F #4F8FD5
tetradic
#D54F8F #D2D54F #4FD595 #524FD5
square
#D54F8F #D2D54F #4FD595 #524FD5
split-complementary
#D54F8F #4FD552 #4FD2D5
monochromatic
#892152 #BA2C70 #D54F8F #E180AE #EDB2CE

Accessibility & contrast

On white

3.93
#D54F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D54F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F8F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F8F#FFFFFF#000000##000000
##D54F8F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647191
Deuteranopia (green-blind)
#89898C
Tritanopia (blue-blind)
#E54669
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54f8f;
/* rgb */ color: rgb(213, 79, 143);
/* oklch */ color: oklch(62.5% 0.179 353.9);
Tailwind
colors: {
  custom: {
    50: '#e688af',
    500: '#d54f8f',
    950: '#000000',
  },
}
SCSS
$custom: #d54f8f;
$custom-light: #e688af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f8f",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 331.343,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.17935,
    "h": 353.9
  },
  "luminance": 0.21721
}

Semantic roles & 50–950 ramp

primary
#D54F8F
secondary
#A5DBC1
accent
#E59843
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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