#D54AB9#D54AB9

#D54AB9 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.6% C 0.211 H 336.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D54AB9
RGBrgb(213, 74, 185)
HSLhsl(312, 62%, 56%)
HSVhsv(312, 65%, 84%)
CMYKcmyk(0%, 65.3%, 13.1%, 16.5%)
CIE-LABlab(54.61, 66.09, -30.70)
CIE-LCHlch(54.61, 72.87, 335.08°)
OKLaboklab(63.63% 0.1939 -0.0834)
OKLCHoklch(63.63% 0.211 336.7)
XYZxyz(38.6469, 22.5498, 48.2067)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54AB9 #4AD566
analogous
#AC4AD5 #D54AB9 #D54A74
triadic
#D54AB9 #B9D54A #4AB9D5
tetradic
#D54AB9 #D5AC4A #4AD566 #4A74D5
square
#D54AB9 #D5AC4A #4AD566 #4A74D5
split-complementary
#D54AB9 #74D54A #4AD5AC
monochromatic
#861F71 #B72B9B #D54AB9 #E17CCC #ECADDF

Accessibility & contrast

On white

3.81
#D54AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D54AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54AB9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54AB9#FFFFFF#000000##000000
##D54AB91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#798AB6
Tritanopia (blue-blind)
#E0517B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54ab9;
/* rgb */ color: rgb(213, 74, 185);
/* oklch */ color: oklch(63.6% 0.211 336.7);
Tailwind
colors: {
  custom: {
    50: '#e586ce',
    500: '#d54ab9',
    950: '#000000',
  },
}
SCSS
$custom: #d54ab9;
$custom-light: #e586ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ab9",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 312.086,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63634,
    "c": 0.21102,
    "h": 336.7
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#D54AB9
secondary
#A1DAAC
accent
#E56342
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D54AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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