#D54A9F#D54A9F

#D54A9F is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.5% C 0.194 H 346.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D54A9F
RGBrgb(213, 74, 159)
HSLhsl(323, 62%, 56%)
HSVhsv(323, 65%, 84%)
CMYKcmyk(0%, 65.3%, 25.4%, 16.5%)
CIE-LABlab(53.55, 62.49, -17.16)
CIE-LCHlch(53.55, 64.80, 344.64°)
OKLaboklab(62.51% 0.189 -0.0453)
OKLCHoklch(62.51% 0.194 346.5)
XYZxyz(36.1488, 21.5506, 35.0501)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A9F #4AD580
analogous
#C54AD5 #D54A9F #D54A5A
triadic
#D54A9F #9FD54A #4A9FD5
tetradic
#D54A9F #D5C54A #4AD580 #4A5AD5
square
#D54A9F #D5C54A #4AD580 #4A5AD5
split-complementary
#D54A9F #5AD54A #4AD5C5
monochromatic
#861F5E #B72B81 #D54A9F #E17CB9 #ECADD4

Accessibility & contrast

On white

3.96
#D54A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D54A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A9F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A9F#FFFFFF#000000##000000
##D54A9F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A2
Deuteranopia (green-blind)
#82899C
Tritanopia (blue-blind)
#E3476E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54a9f;
/* rgb */ color: rgb(213, 74, 159);
/* oklch */ color: oklch(62.5% 0.194 346.5);
Tailwind
colors: {
  custom: {
    50: '#e685bb',
    500: '#d54a9f',
    950: '#000000',
  },
}
SCSS
$custom: #d54a9f;
$custom-light: #e685bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a9f",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 323.309,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.19433,
    "h": 346.5
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#D54A9F
secondary
#A1DAB7
accent
#E58242
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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