#D54F77#D54F77

#D54F77 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.171 H 5.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D54F77
RGBrgb(213, 79, 119)
HSLhsl(342, 61%, 57%)
HSVhsv(342, 63%, 84%)
CMYKcmyk(0%, 62.9%, 44.1%, 16.5%)
CIE-LABlab(53.03, 55.88, 5.81)
CIE-LCHlch(53.03, 56.18, 5.93°)
OKLaboklab(61.72% 0.1704 0.0155)
OKLCHoklch(61.72% 0.171 5.2)
XYZxyz(33.5687, 21.0740, 19.7491)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F77 #4FD5AD
analogous
#D54FBA #D54F77 #D56A4F
triadic
#D54F77 #77D54F #4F77D5
tetradic
#D54F77 #BAD54F #4FD5AD #6A4FD5
square
#D54F77 #BAD54F #4FD5AD #6A4FD5
split-complementary
#D54F77 #4FD56A #4FBAD5
monochromatic
#892140 #BA2C57 #D54F77 #E1809D #EDB2C3

Accessibility & contrast

On white

4.03
#D54F77 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D54F77 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F77
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F77#FFFFFF#000000##000000
##D54F771.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6E78
Deuteranopia (green-blind)
#8E8874
Tritanopia (blue-blind)
#E73E5F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54f77;
/* rgb */ color: rgb(213, 79, 119);
/* oklch */ color: oklch(61.7% 0.171 5.2);
Tailwind
colors: {
  custom: {
    50: '#e7879e',
    500: '#d54f77',
    950: '#000000',
  },
}
SCSS
$custom: #d54f77;
$custom-light: #e7879e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f77",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 119
  },
  "hsl": {
    "h": 342.09,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.17111,
    "h": 5.2
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#D54F77
secondary
#A5DBCB
accent
#E5B443
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D54F77

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

Preview Lab → · Contrast checker → · Palette generator →

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