#D54D7C#D54D7C

#D54D7C is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.175 H 2.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D54D7C
RGBrgb(213, 77, 124)
HSLhsl(339, 62%, 57%)
HSVhsv(339, 64%, 84%)
CMYKcmyk(0%, 63.8%, 41.8%, 16.5%)
CIE-LABlab(52.85, 57.23, 2.57)
CIE-LCHlch(52.85, 57.28, 2.57°)
OKLaboklab(61.63% 0.1748 0.0073)
OKLCHoklch(61.63% 0.175 2.4)
XYZxyz(33.7349, 20.9131, 21.3250)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D7C #4DD5A6
analogous
#D54DC0 #D54D7C #D5624D
triadic
#D54D7C #7CD54D #4D7CD5
tetradic
#D54D7C #C0D54D #4DD5A6 #624DD5
square
#D54D7C #C0D54D #4DD5A6 #624DD5
split-complementary
#D54D7C #4DD562 #4DC0D5
monochromatic
#882044 #B92C5D #D54D7C #E17FA0 #ECB0C5

Accessibility & contrast

On white

4.05
#D54D7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D54D7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D7C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D7C#FFFFFF#000000##000000
##D54D7C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#E63D60
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54d7c;
/* rgb */ color: rgb(213, 77, 124);
/* oklch */ color: oklch(61.6% 0.175 2.4);
Tailwind
colors: {
  custom: {
    50: '#e786a1',
    500: '#d54d7c',
    950: '#000000',
  },
}
SCSS
$custom: #d54d7c;
$custom-light: #e786a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d7c",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 339.265,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.17499,
    "h": 2.4
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#D54D7C
secondary
#A3DBC7
accent
#E5AD43
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D54D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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