#D54D7D#D54D7D

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

Color values

HEX#D54D7D
RGBrgb(213, 77, 125)
HSLhsl(339, 62%, 57%)
HSVhsv(339, 64%, 84%)
CMYKcmyk(0%, 63.8%, 41.3%, 16.5%)
CIE-LABlab(52.88, 57.33, 2.01)
CIE-LCHlch(52.88, 57.36, 2.01°)
OKLaboklab(61.66% 0.1752 0.0059)
OKLCHoklch(61.66% 0.175 1.9)
XYZxyz(33.7984, 20.9385, 21.6597)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D7D #4DD5A5
analogous
#D54DC1 #D54D7D #D5614D
triadic
#D54D7D #7DD54D #4D7DD5
tetradic
#D54D7D #C1D54D #4DD5A5 #614DD5
square
#D54D7D #C1D54D #4DD5A5 #614DD5
split-complementary
#D54D7D #4DD561 #4DC1D5
monochromatic
#882045 #B92C5E #D54D7D #E17FA1 #ECB0C5

Accessibility & contrast

On white

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

On black

5.19
#D54D7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D7D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D7D#FFFFFF#000000##000000
##D54D7D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d54d7d;
/* rgb */ color: rgb(213, 77, 125);
/* oklch */ color: oklch(61.7% 0.175 1.9);
Tailwind
colors: {
  custom: {
    50: '#e786a2',
    500: '#d54d7d',
    950: '#000000',
  },
}
SCSS
$custom: #d54d7d;
$custom-light: #e786a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d7d",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 338.824,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.17528,
    "h": 1.9
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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