#D54A7F#D54A7F

#D54A7F is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.180 H 0.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D54A7F
RGBrgb(213, 74, 127)
HSLhsl(337, 62%, 56%)
HSVhsv(337, 65%, 84%)
CMYKcmyk(0%, 65.3%, 40.4%, 16.5%)
CIE-LABlab(52.49, 58.77, 0.24)
CIE-LCHlch(52.49, 58.77, 0.24°)
OKLaboklab(61.38% 0.1798 0.0013)
OKLCHoklch(61.38% 0.18 0.4)
XYZxyz(33.7224, 20.5800, 22.2710)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A7F #4AD5A0
analogous
#D54AC5 #D54A7F #D55B4A
triadic
#D54A7F #7FD54A #4A7FD5
tetradic
#D54A7F #C5D54A #4AD5A0 #5B4AD5
square
#D54A7F #C5D54A #4AD5A0 #5B4AD5
split-complementary
#D54A7F #4AD55B #4AC5D5
monochromatic
#861F46 #B72B60 #D54A7F #E17CA2 #ECADC5

Accessibility & contrast

On white

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

On black

5.12
#D54A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A7F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A7F#FFFFFF#000000##000000
##D54A7F1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#E63A5F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54a7f;
/* rgb */ color: rgb(213, 74, 127);
/* oklch */ color: oklch(61.4% 0.180 0.4);
Tailwind
colors: {
  custom: {
    50: '#e785a4',
    500: '#d54a7f',
    950: '#000000',
  },
}
SCSS
$custom: #d54a7f;
$custom-light: #e785a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a7f",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 337.122,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.17976,
    "h": 0.4
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#D54A7F
secondary
#A1DAC4
accent
#E5A742
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D54A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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