#D54A78#D54A78

#D54A78 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.178 H 3.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D54A78
RGBrgb(213, 74, 120)
HSLhsl(340, 62%, 56%)
HSVhsv(340, 65%, 84%)
CMYKcmyk(0%, 65.3%, 43.7%, 16.5%)
CIE-LABlab(52.29, 58.06, 4.15)
CIE-LCHlch(52.29, 58.21, 4.08°)
OKLaboklab(61.17% 0.1774 0.0113)
OKLCHoklch(61.17% 0.178 3.7)
XYZxyz(33.2819, 20.4038, 19.9513)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A78 #4AD5A7
analogous
#D54ABE #D54A78 #D5624A
triadic
#D54A78 #78D54A #4A78D5
tetradic
#D54A78 #BED54A #4AD5A7 #624AD5
square
#D54A78 #BED54A #4AD5A7 #624AD5
split-complementary
#D54A78 #4AD562 #4ABED5
monochromatic
#861F41 #B72B59 #D54A78 #E17C9D #ECADC2

Accessibility & contrast

On white

4.13
#D54A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D54A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A78
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A78#FFFFFF#000000##000000
##D54A781.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#8C8775
Tritanopia (blue-blind)
#E7385C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54a78;
/* rgb */ color: rgb(213, 74, 120);
/* oklch */ color: oklch(61.2% 0.178 3.7);
Tailwind
colors: {
  custom: {
    50: '#e7859e',
    500: '#d54a78',
    950: '#000000',
  },
}
SCSS
$custom: #d54a78;
$custom-light: #e7859e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a78",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 340.144,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.17771,
    "h": 3.7
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#D54A78
secondary
#A1DAC7
accent
#E5AF42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D54A78

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

Preview Lab → · Contrast checker → · Palette generator →

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