#D54978#D54978

#D54978 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.179 H 3.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D54978
RGBrgb(213, 73, 120)
HSLhsl(340, 63%, 56%)
HSVhsv(340, 66%, 84%)
CMYKcmyk(0%, 65.7%, 43.7%, 16.5%)
CIE-LABlab(52.14, 58.47, 3.93)
CIE-LCHlch(52.14, 58.60, 3.85°)
OKLaboklab(61.06% 0.1786 0.0108)
OKLCHoklch(61.06% 0.179 3.5)
XYZxyz(33.2157, 20.2713, 19.9293)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54978 #49D5A6
analogous
#D549BE #D54978 #D56049
triadic
#D54978 #78D549 #4978D5
tetradic
#D54978 #BED549 #49D5A6 #6049D5
square
#D54978 #BED549 #49D5A6 #6049D5
split-complementary
#D54978 #49D560 #49BED5
monochromatic
#851F41 #B72A59 #D54978 #E07B9D #ECACC2

Accessibility & contrast

On white

4.16
#D54978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D54978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54978
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54978#FFFFFF#000000##000000
##D549781.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#8B8675
Tritanopia (blue-blind)
#E7375C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54978;
/* rgb */ color: rgb(213, 73, 120);
/* oklch */ color: oklch(61.1% 0.179 3.5);
Tailwind
colors: {
  custom: {
    50: '#e7849e',
    500: '#d54978',
    950: '#000000',
  },
}
SCSS
$custom: #d54978;
$custom-light: #e7849e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54978",
  "rgb": {
    "r": 213,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 339.857,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.17896,
    "h": 3.5
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#D54978
secondary
#A0DAC6
accent
#E6AF42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54978

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

Preview Lab → · Contrast checker → · Palette generator →

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