#D54F98#D54F98

#D54F98 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.184 H 350.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D54F98
RGBrgb(213, 79, 152)
HSLhsl(327, 61%, 57%)
HSVhsv(327, 63%, 84%)
CMYKcmyk(0%, 62.9%, 28.6%, 16.5%)
CIE-LABlab(54.04, 59.57, -12.30)
CIE-LCHlch(54.04, 60.82, 348.33°)
OKLaboklab(62.79% 0.1809 -0.032)
OKLCHoklch(62.79% 0.184 350)
XYZxyz(35.9057, 22.0088, 32.0569)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F98 #4FD58C
analogous
#CF4FD5 #D54F98 #D54F55
triadic
#D54F98 #98D54F #4F98D5
tetradic
#D54F98 #D5CF4F #4FD58C #4F55D5
square
#D54F98 #D5CF4F #4FD58C #4F55D5
split-complementary
#D54F98 #55D54F #4FD5CF
monochromatic
#892159 #BA2C7A #D54F98 #E180B5 #EDB2D2

Accessibility & contrast

On white

3.89
#D54F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D54F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F98
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F98#FFFFFF#000000##000000
##D54F981.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#868A95
Tritanopia (blue-blind)
#E4496D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d54f98;
/* rgb */ color: rgb(213, 79, 152);
/* oklch */ color: oklch(62.8% 0.184 350.0);
Tailwind
colors: {
  custom: {
    50: '#e688b6',
    500: '#d54f98',
    950: '#000000',
  },
}
SCSS
$custom: #d54f98;
$custom-light: #e688b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f98",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 327.313,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.18373,
    "h": 350
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#D54F98
secondary
#A5DBBD
accent
#E58D43
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54F98

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

Preview Lab → · Contrast checker → · Palette generator →

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