#D54B8E#D54B8E

#D54B8E is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.184 H 353.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D54B8E
RGBrgb(213, 75, 142)
HSLhsl(331, 62%, 56%)
HSVhsv(331, 65%, 84%)
CMYKcmyk(0%, 64.8%, 33.3%, 16.5%)
CIE-LABlab(53.10, 60.01, -7.79)
CIE-LCHlch(53.10, 60.51, 352.60°)
OKLaboklab(61.99% 0.1832 -0.0198)
OKLCHoklch(61.99% 0.184 353.8)
XYZxyz(34.8410, 21.1351, 27.8306)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54B8E #4BD592
analogous
#D54BD3 #D54B8E #D54D4B
triadic
#D54B8E #8ED54B #4B8ED5
tetradic
#D54B8E #D3D54B #4BD592 #4D4BD5
square
#D54B8E #D3D54B #4BD592 #4D4BD5
split-complementary
#D54B8E #4BD54D #4BD3D5
monochromatic
#861F51 #B82B6F #D54B8E #E17DAD #ECAECC

Accessibility & contrast

On white

4.02
#D54B8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D54B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54B8E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54B8E#FFFFFF#000000##000000
##D54B8E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#87888B
Tritanopia (blue-blind)
#E54166
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54b8e;
/* rgb */ color: rgb(213, 75, 142);
/* oklch */ color: oklch(62.0% 0.184 353.8);
Tailwind
colors: {
  custom: {
    50: '#e686af',
    500: '#d54b8e',
    950: '#000000',
  },
}
SCSS
$custom: #d54b8e;
$custom-light: #e686af;
$custom-dark: #000000;
JSON
{
  "hex": "#d54b8e",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 330.87,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.18428,
    "h": 353.8
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#D54B8E
secondary
#A2DABF
accent
#E59643
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D54B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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