#D54D7E#D54D7E

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

Color values

HEX#D54D7E
RGBrgb(213, 77, 126)
HSLhsl(338, 62%, 57%)
HSVhsv(338, 64%, 84%)
CMYKcmyk(0%, 63.8%, 40.8%, 16.5%)
CIE-LABlab(52.91, 57.43, 1.46)
CIE-LCHlch(52.91, 57.45, 1.45°)
OKLaboklab(61.69% 0.1755 0.0045)
OKLCHoklch(61.69% 0.176 1.5)
XYZxyz(33.8626, 20.9642, 21.9979)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D7E #4DD5A4
analogous
#D54DC2 #D54D7E #D5604D
triadic
#D54D7E #7ED54D #4D7ED5
tetradic
#D54D7E #C2D54D #4DD5A4 #604DD5
square
#D54D7E #C2D54D #4DD5A4 #604DD5
split-complementary
#D54D7E #4DD560 #4DC2D5
monochromatic
#882045 #B92C5F #D54D7E #E17FA2 #ECB0C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54D7E#FFFFFF#000000##000000
##D54D7E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E7F
Deuteranopia (green-blind)
#8C887B
Tritanopia (blue-blind)
#E63E60
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54d7e;
/* rgb */ color: rgb(213, 77, 126);
/* oklch */ color: oklch(61.7% 0.176 1.5);
Tailwind
colors: {
  custom: {
    50: '#e786a3',
    500: '#d54d7e',
    950: '#000000',
  },
}
SCSS
$custom: #d54d7e;
$custom-light: #e786a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d7e",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 338.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.17558,
    "h": 1.5
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#D54D7E
secondary
#A3DBC7
accent
#E5AB43
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D54D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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