#D54787#D54787

#D54787 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.186 H 356.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D54787
RGBrgb(213, 71, 135)
HSLhsl(333, 63%, 56%)
HSVhsv(333, 67%, 84%)
CMYKcmyk(0%, 66.7%, 36.6%, 16.5%)
CIE-LABlab(52.29, 60.81, -4.82)
CIE-LCHlch(52.29, 61.00, 355.47°)
OKLaboklab(61.32% 0.1861 -0.0119)
OKLCHoklch(61.32% 0.186 356.3)
XYZxyz(34.0691, 20.4058, 25.0616)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54787 #47D595
analogous
#D547CE #D54787 #D54E47
triadic
#D54787 #87D547 #4787D5
tetradic
#D54787 #CED547 #47D595 #4E47D5
square
#D54787 #CED547 #47D595 #4E47D5
split-complementary
#D54787 #47D54E #47CED5
monochromatic
#841E4C #B52968 #D54787 #E079A7 #ECABC8

Accessibility & contrast

On white

4.13
#D54787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D54787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54787
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54787#FFFFFF#000000##000000
##D547871.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C89
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#E53A61
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54787;
/* rgb */ color: rgb(213, 71, 135);
/* oklch */ color: oklch(61.3% 0.186 356.3);
Tailwind
colors: {
  custom: {
    50: '#e783a9',
    500: '#d54787',
    950: '#000000',
  },
}
SCSS
$custom: #d54787;
$custom-light: #e783a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54787",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 332.958,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.18648,
    "h": 356.3
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#D54787
secondary
#9ED9BF
accent
#E69C42
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D54787

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

Preview Lab → · Contrast checker → · Palette generator →

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