#D54873#D54873

#D54873 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.179 H 5.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D54873
RGBrgb(213, 72, 115)
HSLhsl(342, 63%, 56%)
HSVhsv(342, 66%, 84%)
CMYKcmyk(0%, 66.2%, 46%, 16.5%)
CIE-LABlab(51.86, 58.39, 6.53)
CIE-LCHlch(51.86, 58.76, 6.38°)
OKLaboklab(60.81% 0.1781 0.0173)
OKLCHoklch(60.81% 0.179 5.6)
XYZxyz(32.8550, 20.0228, 18.3510)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54873 #48D5AA
analogous
#D548B9 #D54873 #D56348
triadic
#D54873 #73D548 #4873D5
tetradic
#D54873 #B9D548 #48D5AA #6348D5
square
#D54873 #B9D548 #48D5AA #6348D5
split-complementary
#D54873 #48D563 #48B9D5
monochromatic
#841E3D #B62A55 #D54873 #E07A99 #ECACBF

Accessibility & contrast

On white

4.20
#D54873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D54873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54873
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54873#FFFFFF#000000##000000
##D548731.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676A74
Deuteranopia (green-blind)
#8C8670
Tritanopia (blue-blind)
#E73359
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54873;
/* rgb */ color: rgb(213, 72, 115);
/* oklch */ color: oklch(60.8% 0.179 5.6);
Tailwind
colors: {
  custom: {
    50: '#e7839b',
    500: '#d54873',
    950: '#000000',
  },
}
SCSS
$custom: #d54873;
$custom-light: #e7839b;
$custom-dark: #000000;
JSON
{
  "hex": "#d54873",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 341.702,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.17897,
    "h": 5.6
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#D54873
secondary
#9FDAC8
accent
#E6B442
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54873

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

Preview Lab → · Contrast checker → · Palette generator →

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