#D54E7D#D54E7D

#D54E7D is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.174 H 2.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D54E7D
RGBrgb(213, 78, 125)
HSLhsl(339, 62%, 57%)
HSVhsv(339, 63%, 84%)
CMYKcmyk(0%, 63.4%, 41.3%, 16.5%)
CIE-LABlab(53.04, 56.91, 2.24)
CIE-LCHlch(53.04, 56.95, 2.25°)
OKLaboklab(61.77% 0.1739 0.0065)
OKLCHoklch(61.77% 0.174 2.1)
XYZxyz(33.8689, 21.0796, 21.6832)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54E7D #4ED5A6
analogous
#D54EC1 #D54E7D #D5634E
triadic
#D54E7D #7DD54E #4E7DD5
tetradic
#D54E7D #C1D54E #4ED5A6 #634ED5
square
#D54E7D #C1D54E #4ED5A6 #634ED5
split-complementary
#D54E7D #4ED563 #4EC1D5
monochromatic
#882045 #BA2C5D #D54E7D #E17FA1 #ECB1C6

Accessibility & contrast

On white

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

On black

5.22
#D54E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54E7D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54E7D#FFFFFF#000000##000000
##D54E7D1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#E63F60
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54e7d;
/* rgb */ color: rgb(213, 78, 125);
/* oklch */ color: oklch(61.8% 0.174 2.1);
Tailwind
colors: {
  custom: {
    50: '#e787a2',
    500: '#d54e7d',
    950: '#000000',
  },
}
SCSS
$custom: #d54e7d;
$custom-light: #e787a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54e7d",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 339.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.17398,
    "h": 2.1
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#D54E7D
secondary
#A4DBC8
accent
#E5AC43
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D54E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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