#D54878#D54878

#D54878 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.180 H 3.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D54878
RGBrgb(213, 72, 120)
HSLhsl(340, 63%, 56%)
HSVhsv(340, 66%, 84%)
CMYKcmyk(0%, 66.2%, 43.7%, 16.5%)
CIE-LABlab(52.00, 58.87, 3.72)
CIE-LCHlch(52.00, 58.99, 3.62°)
OKLaboklab(60.96% 0.1799 0.0103)
OKLCHoklch(60.96% 0.18 3.3)
XYZxyz(33.1505, 20.1410, 19.9075)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54878 #48D5A5
analogous
#D548BF #D54878 #D55E48
triadic
#D54878 #78D548 #4878D5
tetradic
#D54878 #BFD548 #48D5A5 #5E48D5
square
#D54878 #BFD548 #48D5A5 #5E48D5
split-complementary
#D54878 #48D55E #48BFD5
monochromatic
#841E41 #B62A5A #D54878 #E07A9D #ECACC1

Accessibility & contrast

On white

4.18
#D54878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D54878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54878
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54878#FFFFFF#000000##000000
##D548781.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d54878;
/* rgb */ color: rgb(213, 72, 120);
/* oklch */ color: oklch(61.0% 0.180 3.3);
Tailwind
colors: {
  custom: {
    50: '#e7839e',
    500: '#d54878',
    950: '#000000',
  },
}
SCSS
$custom: #d54878;
$custom-light: #e7839e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54878",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 339.574,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.1802,
    "h": 3.3
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#D54878
secondary
#9FDAC6
accent
#E6AE42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54878

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

Preview Lab → · Contrast checker → · Palette generator →

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