#D54F9D#D54F9D

#D54F9D is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.186 H 347.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D54F9D
RGBrgb(213, 79, 157)
HSLhsl(325, 61%, 57%)
HSVhsv(325, 63%, 84%)
CMYKcmyk(0%, 62.9%, 26.3%, 16.5%)
CIE-LABlab(54.21, 60.20, -14.97)
CIE-LCHlch(54.21, 62.04, 346.03°)
OKLaboklab(62.98% 0.1822 -0.0394)
OKLCHoklch(62.98% 0.186 347.8)
XYZxyz(36.3238, 22.1761, 34.2592)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F9D #4FD587
analogous
#CA4FD5 #D54F9D #D54F5A
triadic
#D54F9D #9DD54F #4F9DD5
tetradic
#D54F9D #D5CA4F #4FD587 #4F5AD5
square
#D54F9D #D5CA4F #4FD587 #4F5AD5
split-complementary
#D54F9D #5AD54F #4FD5CA
monochromatic
#89215D #BA2C7F #D54F9D #E180B9 #EDB2D4

Accessibility & contrast

On white

3.86
#D54F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D54F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F9D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F9D#FFFFFF#000000##000000
##D54F9D1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F739F
Deuteranopia (green-blind)
#858A9A
Tritanopia (blue-blind)
#E34B6F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d54f9d;
/* rgb */ color: rgb(213, 79, 157);
/* oklch */ color: oklch(63.0% 0.186 347.8);
Tailwind
colors: {
  custom: {
    50: '#e688ba',
    500: '#d54f9d',
    950: '#000000',
  },
}
SCSS
$custom: #d54f9d;
$custom-light: #e688ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f9d",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 325.075,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.18642,
    "h": 347.8
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#D54F9D
secondary
#A5DBBB
accent
#E58743
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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