#D54A8F#D54A8F

#D54A8F is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.186 H 353.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D54A8F
RGBrgb(213, 74, 143)
HSLhsl(330, 62%, 56%)
HSVhsv(330, 65%, 84%)
CMYKcmyk(0%, 65.3%, 32.9%, 16.5%)
CIE-LABlab(52.98, 60.53, -8.56)
CIE-LCHlch(52.98, 61.13, 351.95°)
OKLaboklab(61.91% 0.1848 -0.0219)
OKLCHoklch(61.91% 0.186 353.2)
XYZxyz(34.8491, 21.0307, 28.2054)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A8F #4AD590
analogous
#D54AD5 #D54A8F #D54B4A
triadic
#D54A8F #8FD54A #4A8FD5
tetradic
#D54A8F #D5D54A #4AD590 #4B4AD5
square
#D54A8F #D5D54A #4AD590 #4B4AD5
split-complementary
#D54A8F #4AD54B #4AD5D5
monochromatic
#861F52 #B72B70 #D54A8F #E17CAE #ECADCC

Accessibility & contrast

On white

4.03
#D54A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D54A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A8F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A8F#FFFFFF#000000##000000
##D54A8F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E91
Deuteranopia (green-blind)
#87888C
Tritanopia (blue-blind)
#E54166
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54a8f;
/* rgb */ color: rgb(213, 74, 143);
/* oklch */ color: oklch(61.9% 0.186 353.2);
Tailwind
colors: {
  custom: {
    50: '#e685af',
    500: '#d54a8f',
    950: '#000000',
  },
}
SCSS
$custom: #d54a8f;
$custom-light: #e685af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a8f",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 330.216,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.18605,
    "h": 353.2
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#D54A8F
secondary
#A1DABE
accent
#E59442
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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