#D54F9B#D54F9B

#D54F9B is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.185 H 348.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D54F9B
RGBrgb(213, 79, 155)
HSLhsl(326, 61%, 57%)
HSVhsv(326, 63%, 84%)
CMYKcmyk(0%, 62.9%, 27.2%, 16.5%)
CIE-LABlab(54.14, 59.95, -13.91)
CIE-LCHlch(54.14, 61.54, 346.94°)
OKLaboklab(62.9% 0.1817 -0.0364)
OKLCHoklch(62.9% 0.185 348.7)
XYZxyz(36.1545, 22.1083, 33.3673)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F9B #4FD589
analogous
#CC4FD5 #D54F9B #D54F58
triadic
#D54F9B #9BD54F #4F9BD5
tetradic
#D54F9B #D5CC4F #4FD589 #4F58D5
square
#D54F9B #D5CC4F #4FD589 #4F58D5
split-complementary
#D54F9B #58D54F #4FD5CC
monochromatic
#89215C #BA2C7D #D54F9B #E180B7 #EDB2D3

Accessibility & contrast

On white

3.87
#D54F9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D54F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F9B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F9B#FFFFFF#000000##000000
##D54F9B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#60739D
Deuteranopia (green-blind)
#868A98
Tritanopia (blue-blind)
#E34A6E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d54f9b;
/* rgb */ color: rgb(213, 79, 155);
/* oklch */ color: oklch(62.9% 0.185 348.7);
Tailwind
colors: {
  custom: {
    50: '#e688b8',
    500: '#d54f9b',
    950: '#000000',
  },
}
SCSS
$custom: #d54f9b;
$custom-light: #e688b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f9b",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 325.97,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.18533,
    "h": 348.7
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#D54F9B
secondary
#A5DBBC
accent
#E58943
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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