#D54A8E#D54A8E

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

Color values

HEX#D54A8E
RGBrgb(213, 74, 142)
HSLhsl(331, 62%, 56%)
HSVhsv(331, 65%, 84%)
CMYKcmyk(0%, 65.3%, 33.3%, 16.5%)
CIE-LABlab(52.95, 60.41, -8.01)
CIE-LCHlch(52.95, 60.94, 352.44°)
OKLaboklab(61.88% 0.1845 -0.0204)
OKLCHoklch(61.88% 0.186 353.7)
XYZxyz(34.7737, 21.0005, 27.8082)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A8E #4AD591
analogous
#D54AD4 #D54A8E #D54C4A
triadic
#D54A8E #8ED54A #4A8ED5
tetradic
#D54A8E #D4D54A #4AD591 #4C4AD5
square
#D54A8E #D4D54A #4AD591 #4C4AD5
split-complementary
#D54A8E #4AD54C #4AD4D5
monochromatic
#861F51 #B72B6F #D54A8E #E17CAD #ECADCC

Accessibility & contrast

On white

4.04
#D54A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D54A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A8E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A8E#FFFFFF#000000##000000
##D54A8E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E90
Deuteranopia (green-blind)
#87888B
Tritanopia (blue-blind)
#E54066
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54a8e;
/* rgb */ color: rgb(213, 74, 142);
/* oklch */ color: oklch(61.9% 0.186 353.7);
Tailwind
colors: {
  custom: {
    50: '#e685af',
    500: '#d54a8e',
    950: '#000000',
  },
}
SCSS
$custom: #d54a8e;
$custom-light: #e685af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a8e",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 330.647,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.1856,
    "h": 353.7
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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