#D54877#D54877

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

Color values

HEX#D54877
RGBrgb(213, 72, 119)
HSLhsl(340, 63%, 56%)
HSVhsv(340, 66%, 84%)
CMYKcmyk(0%, 66.2%, 44.1%, 16.5%)
CIE-LABlab(51.97, 58.77, 4.28)
CIE-LCHlch(51.97, 58.93, 4.17°)
OKLaboklab(60.93% 0.1796 0.0117)
OKLCHoklch(60.93% 0.18 3.7)
XYZxyz(33.0902, 20.1169, 19.5896)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54877 #48D5A6
analogous
#D548BD #D54877 #D55F48
triadic
#D54877 #77D548 #4877D5
tetradic
#D54877 #BDD548 #48D5A6 #5F48D5
square
#D54877 #BDD548 #48D5A6 #5F48D5
split-complementary
#D54877 #48D55F #48BDD5
monochromatic
#841E40 #B62A59 #D54877 #E07A9C #ECACC1

Accessibility & contrast

On white

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

On black

5.02
#D54877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54877
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54877#FFFFFF#000000##000000
##D548771.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666A78
Deuteranopia (green-blind)
#8B8674
Tritanopia (blue-blind)
#E7355B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54877;
/* rgb */ color: rgb(213, 72, 119);
/* oklch */ color: oklch(60.9% 0.180 3.7);
Tailwind
colors: {
  custom: {
    50: '#e7839e',
    500: '#d54877',
    950: '#000000',
  },
}
SCSS
$custom: #d54877;
$custom-light: #e7839e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54877",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 340,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.17994,
    "h": 3.7
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54877

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

Preview Lab → · Contrast checker → · Palette generator →

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