#D54788#D54788

#D54788 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.187 H 355.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D54788
RGBrgb(213, 71, 136)
HSLhsl(333, 63%, 56%)
HSVhsv(333, 67%, 84%)
CMYKcmyk(0%, 66.7%, 36.2%, 16.5%)
CIE-LABlab(52.32, 60.92, -5.37)
CIE-LCHlch(52.32, 61.16, 354.96°)
OKLaboklab(61.35% 0.1864 -0.0134)
OKLCHoklch(61.35% 0.187 355.9)
XYZxyz(34.1398, 20.4341, 25.4341)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54788 #47D594
analogous
#D547CF #D54788 #D54D47
triadic
#D54788 #88D547 #4788D5
tetradic
#D54788 #CFD547 #47D594 #4D47D5
square
#D54788 #CFD547 #47D594 #4D47D5
split-complementary
#D54788 #47D54D #47CFD5
monochromatic
#841E4D #B52969 #D54788 #E079A8 #ECABC8

Accessibility & contrast

On white

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

On black

5.09
#D54788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54788
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54788#FFFFFF#000000##000000
##D547881.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C8A
Deuteranopia (green-blind)
#878785
Tritanopia (blue-blind)
#E53A62
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54788;
/* rgb */ color: rgb(213, 71, 136);
/* oklch */ color: oklch(61.4% 0.187 355.9);
Tailwind
colors: {
  custom: {
    50: '#e683aa',
    500: '#d54788',
    950: '#000000',
  },
}
SCSS
$custom: #d54788;
$custom-light: #e683aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d54788",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 332.535,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.18689,
    "h": 355.9
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#D54788
secondary
#9ED9BE
accent
#E69B42
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D54788

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

Preview Lab → · Contrast checker → · Palette generator →

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