#D54F8E#D54F8E

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

Color values

HEX#D54F8E
RGBrgb(213, 79, 142)
HSLhsl(332, 61%, 57%)
HSVhsv(332, 63%, 84%)
CMYKcmyk(0%, 62.9%, 33.3%, 16.5%)
CIE-LABlab(53.70, 58.36, -6.89)
CIE-LCHlch(53.70, 58.76, 353.26°)
OKLaboklab(62.43% 0.1781 -0.0175)
OKLCHoklch(62.43% 0.179 354.4)
XYZxyz(35.1209, 21.6949, 27.9239)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F8E #4FD596
analogous
#D54FD1 #D54F8E #D5534F
triadic
#D54F8E #8ED54F #4F8ED5
tetradic
#D54F8E #D1D54F #4FD596 #534FD5
square
#D54F8E #D1D54F #4FD596 #534FD5
split-complementary
#D54F8E #4FD553 #4FD1D5
monochromatic
#892152 #BA2C6F #D54F8E #E180AE #EDB2CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54F8E#FFFFFF#000000##000000
##D54F8E1.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)
#647190
Deuteranopia (green-blind)
#89898B
Tritanopia (blue-blind)
#E54668
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54f8e;
/* rgb */ color: rgb(213, 79, 142);
/* oklch */ color: oklch(62.4% 0.179 354.4);
Tailwind
colors: {
  custom: {
    50: '#e688af',
    500: '#d54f8e',
    950: '#000000',
  },
}
SCSS
$custom: #d54f8e;
$custom-light: #e688af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f8e",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 331.791,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.1789,
    "h": 354.4
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#D54F8E
secondary
#A5DBC2
accent
#E59943
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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