#D54A7D#D54A7D

#D54A7D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.179 H 1.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D54A7D
RGBrgb(213, 74, 125)
HSLhsl(338, 62%, 56%)
HSVhsv(338, 65%, 84%)
CMYKcmyk(0%, 65.3%, 41.3%, 16.5%)
CIE-LABlab(52.43, 58.56, 1.35)
CIE-LCHlch(52.43, 58.58, 1.32°)
OKLaboklab(61.32% 0.1791 0.0042)
OKLCHoklch(61.32% 0.179 1.3)
XYZxyz(33.5933, 20.5284, 21.5914)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A7D #4AD5A2
analogous
#D54AC2 #D54A7D #D55D4A
triadic
#D54A7D #7DD54A #4A7DD5
tetradic
#D54A7D #C2D54A #4AD5A2 #5D4AD5
square
#D54A7D #C2D54A #4AD5A2 #5D4AD5
split-complementary
#D54A7D #4AD55D #4AC2D5
monochromatic
#861F45 #B72B5E #D54A7D #E17CA1 #ECADC4

Accessibility & contrast

On white

4.11
#D54A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D54A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A7D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A7D#FFFFFF#000000##000000
##D54A7D1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#8B877A
Tritanopia (blue-blind)
#E63A5E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54a7d;
/* rgb */ color: rgb(213, 74, 125);
/* oklch */ color: oklch(61.3% 0.179 1.3);
Tailwind
colors: {
  custom: {
    50: '#e785a2',
    500: '#d54a7d',
    950: '#000000',
  },
}
SCSS
$custom: #d54a7d;
$custom-light: #e785a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a7d",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 337.986,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.17913,
    "h": 1.3
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

primary
#D54A7D
secondary
#A1DAC5
accent
#E5AA42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D54A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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