#D54F8A#D54F8A

#D54F8A is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.3% C 0.177 H 356.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D54F8A
RGBrgb(213, 79, 138)
HSLhsl(334, 61%, 57%)
HSVhsv(334, 63%, 84%)
CMYKcmyk(0%, 62.9%, 35.2%, 16.5%)
CIE-LABlab(53.58, 57.89, -4.71)
CIE-LCHlch(53.58, 58.09, 355.35°)
OKLaboklab(62.3% 0.1768 -0.0117)
OKLCHoklch(62.3% 0.177 356.2)
XYZxyz(34.8260, 21.5769, 26.3706)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F8A #4FD59A
analogous
#D54FCD #D54F8A #D5574F
triadic
#D54F8A #8AD54F #4F8AD5
tetradic
#D54F8A #CDD54F #4FD59A #574FD5
square
#D54F8A #CDD54F #4FD59A #574FD5
split-complementary
#D54F8A #4FD557 #4FCDD5
monochromatic
#89214F #BA2C6B #D54F8A #E180AB #EDB2CC

Accessibility & contrast

On white

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

On black

5.31
#D54F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F8A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F8A#FFFFFF#000000##000000
##D54F8A1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#66708C
Deuteranopia (green-blind)
#8A8987
Tritanopia (blue-blind)
#E54467
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54f8a;
/* rgb */ color: rgb(213, 79, 138);
/* oklch */ color: oklch(62.3% 0.177 356.2);
Tailwind
colors: {
  custom: {
    50: '#e688ac',
    500: '#d54f8a',
    950: '#000000',
  },
}
SCSS
$custom: #d54f8a;
$custom-light: #e688ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f8a",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 333.582,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62299,
    "c": 0.1772,
    "h": 356.2
  },
  "luminance": 0.21573
}

Semantic roles & 50–950 ramp

primary
#D54F8A
secondary
#A5DBC3
accent
#E59E43
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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