#D54F8D#D54F8D

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

Color values

HEX#D54F8D
RGBrgb(213, 79, 141)
HSLhsl(332, 61%, 57%)
HSVhsv(332, 63%, 84%)
CMYKcmyk(0%, 62.9%, 33.8%, 16.5%)
CIE-LABlab(53.67, 58.24, -6.35)
CIE-LCHlch(53.67, 58.58, 353.78°)
OKLaboklab(62.4% 0.1778 -0.016)
OKLCHoklch(62.4% 0.178 354.9)
XYZxyz(35.0462, 21.6650, 27.5303)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F8D #4FD597
analogous
#D54FD0 #D54F8D #D5544F
triadic
#D54F8D #8DD54F #4F8DD5
tetradic
#D54F8D #D0D54F #4FD597 #544FD5
square
#D54F8D #D0D54F #4FD597 #544FD5
split-complementary
#D54F8D #4FD554 #4FD0D5
monochromatic
#892151 #BA2C6E #D54F8D #E180AD #EDB2CD

Accessibility & contrast

On white

3.94
#D54F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D54F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F8D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F8D#FFFFFF#000000##000000
##D54F8D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#89898A
Tritanopia (blue-blind)
#E54568
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54f8d;
/* rgb */ color: rgb(213, 79, 141);
/* oklch */ color: oklch(62.4% 0.178 354.9);
Tailwind
colors: {
  custom: {
    50: '#e688ae',
    500: '#d54f8d',
    950: '#000000',
  },
}
SCSS
$custom: #d54f8d;
$custom-light: #e688ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f8d",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 332.239,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.624,
    "c": 0.17847,
    "h": 354.9
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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