#D54871#D54871

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

Color values

HEX#D54871
RGBrgb(213, 72, 113)
HSLhsl(343, 63%, 56%)
HSVhsv(343, 66%, 84%)
CMYKcmyk(0%, 66.2%, 46.9%, 16.5%)
CIE-LABlab(51.81, 58.21, 7.66)
CIE-LCHlch(51.81, 58.71, 7.49°)
OKLaboklab(60.76% 0.1774 0.0201)
OKLCHoklch(60.76% 0.179 6.5)
XYZxyz(32.7411, 19.9772, 17.7514)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54871 #48D5AC
analogous
#D548B8 #D54871 #D56548
triadic
#D54871 #71D548 #4871D5
tetradic
#D54871 #B8D548 #48D5AC #6548D5
square
#D54871 #B8D548 #48D5AC #6548D5
split-complementary
#D54871 #48D565 #48B8D5
monochromatic
#841E3C #B62A53 #D54871 #E07A98 #ECACBE

Accessibility & contrast

On white

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

On black

4.99
#D54871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54871
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54871#FFFFFF#000000##000000
##D548711.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676A72
Deuteranopia (green-blind)
#8C866E
Tritanopia (blue-blind)
#E73358
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54871;
/* rgb */ color: rgb(213, 72, 113);
/* oklch */ color: oklch(60.8% 0.179 6.5);
Tailwind
colors: {
  custom: {
    50: '#e78399',
    500: '#d54871',
    950: '#000000',
  },
}
SCSS
$custom: #d54871;
$custom-light: #e78399;
$custom-dark: #000000;
JSON
{
  "hex": "#d54871",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 342.553,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.17855,
    "h": 6.5
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#D54871
secondary
#9FDAC9
accent
#E6B642
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D54871

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

Preview Lab → · Contrast checker → · Palette generator →

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