#D54D7F#D54D7F

#D54D7F is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.176 H 1.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D54D7F
RGBrgb(213, 77, 127)
HSLhsl(338, 62%, 57%)
HSVhsv(338, 64%, 84%)
CMYKcmyk(0%, 63.8%, 40.4%, 16.5%)
CIE-LABlab(52.94, 57.53, 0.90)
CIE-LCHlch(52.94, 57.54, 0.90°)
OKLaboklab(61.72% 0.1759 0.003)
OKLCHoklch(61.72% 0.176 1)
XYZxyz(33.9275, 20.9902, 22.3394)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D7F #4DD5A3
analogous
#D54DC3 #D54D7F #D55F4D
triadic
#D54D7F #7FD54D #4D7FD5
tetradic
#D54D7F #C3D54D #4DD5A3 #5F4DD5
square
#D54D7F #C3D54D #4DD5A3 #5F4DD5
split-complementary
#D54D7F #4DD55F #4DC3D5
monochromatic
#882046 #B92C60 #D54D7F #E17FA3 #ECB0C6

Accessibility & contrast

On white

4.04
#D54D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D54D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D7F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D7F#FFFFFF#000000##000000
##D54D7F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#E63E61
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54d7f;
/* rgb */ color: rgb(213, 77, 127);
/* oklch */ color: oklch(61.7% 0.176 1.0);
Tailwind
colors: {
  custom: {
    50: '#e786a4',
    500: '#d54d7f',
    950: '#000000',
  },
}
SCSS
$custom: #d54d7f;
$custom-light: #e786a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d7f",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 337.941,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.1759,
    "h": 1
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#D54D7F
secondary
#A3DBC6
accent
#E5A943
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D54D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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