#D54872#D54872

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

Color values

HEX#D54872
RGBrgb(213, 72, 114)
HSLhsl(342, 63%, 56%)
HSVhsv(342, 66%, 84%)
CMYKcmyk(0%, 66.2%, 46.5%, 16.5%)
CIE-LABlab(51.84, 58.30, 7.09)
CIE-LCHlch(51.84, 58.73, 6.94°)
OKLaboklab(60.79% 0.1778 0.0187)
OKLCHoklch(60.79% 0.179 6)
XYZxyz(32.7977, 19.9999, 18.0496)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54872 #48D5AB
analogous
#D548B8 #D54872 #D56448
triadic
#D54872 #72D548 #4872D5
tetradic
#D54872 #B8D548 #48D5AB #6448D5
square
#D54872 #B8D548 #48D5AB #6448D5
split-complementary
#D54872 #48D564 #48B8D5
monochromatic
#841E3D #B62A54 #D54872 #E07A98 #ECACBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54872#FFFFFF#000000##000000
##D548721.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)
#676A73
Deuteranopia (green-blind)
#8C866F
Tritanopia (blue-blind)
#E73359
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54872;
/* rgb */ color: rgb(213, 72, 114);
/* oklch */ color: oklch(60.8% 0.179 6.0);
Tailwind
colors: {
  custom: {
    50: '#e7839a',
    500: '#d54872',
    950: '#000000',
  },
}
SCSS
$custom: #d54872;
$custom-light: #e7839a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54872",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 342.128,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.17875,
    "h": 6
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54872

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

Preview Lab → · Contrast checker → · Palette generator →

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