#D54A98#D54A98

#D54A98 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.2% C 0.190 H 349.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D54A98
RGBrgb(213, 74, 152)
HSLhsl(326, 62%, 56%)
HSVhsv(326, 65%, 84%)
CMYKcmyk(0%, 65.3%, 28.6%, 16.5%)
CIE-LABlab(53.29, 61.61, -13.42)
CIE-LCHlch(53.29, 63.05, 347.71°)
OKLaboklab(62.24% 0.1872 -0.0351)
OKLCHoklch(62.24% 0.19 349.4)
XYZxyz(35.5585, 21.3144, 31.9411)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A98 #4AD587
analogous
#CD4AD5 #D54A98 #D54A53
triadic
#D54A98 #98D54A #4A98D5
tetradic
#D54A98 #D5CD4A #4AD587 #4A53D5
square
#D54A98 #D5CD4A #4AD587 #4A53D5
split-complementary
#D54A98 #53D54A #4AD5CD
monochromatic
#861F59 #B72B7A #D54A98 #E17CB4 #ECADD1

Accessibility & contrast

On white

3.99
#D54A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D54A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A98
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A98#FFFFFF#000000##000000
##D54A981.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#848895
Tritanopia (blue-blind)
#E4446B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54a98;
/* rgb */ color: rgb(213, 74, 152);
/* oklch */ color: oklch(62.2% 0.190 349.4);
Tailwind
colors: {
  custom: {
    50: '#e685b6',
    500: '#d54a98',
    950: '#000000',
  },
}
SCSS
$custom: #d54a98;
$custom-light: #e685b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a98",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 326.331,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.19049,
    "h": 349.4
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#D54A98
secondary
#A1DABA
accent
#E58A42
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54A98

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

Preview Lab → · Contrast checker → · Palette generator →

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