#D54FAB#D54FAB

#D54FAB is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.195 H 342.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D54FAB
RGBrgb(213, 79, 171)
HSLhsl(319, 61%, 57%)
HSVhsv(319, 63%, 84%)
CMYKcmyk(0%, 62.9%, 19.7%, 16.5%)
CIE-LABlab(54.74, 62.08, -22.36)
CIE-LCHlch(54.74, 65.98, 340.19°)
OKLaboklab(63.54% 0.1854 -0.0598)
OKLCHoklch(63.54% 0.195 342.1)
XYZxyz(37.5883, 22.6818, 40.9186)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FAB #4FD579
analogous
#BC4FD5 #D54FAB #D54F68
triadic
#D54FAB #ABD54F #4FABD5
tetradic
#D54FAB #D5BC4F #4FD579 #4F68D5
square
#D54FAB #D5BC4F #4FD579 #4F68D5
split-complementary
#D54FAB #68D54F #4FD5BC
monochromatic
#892168 #BA2C8E #D54FAB #E180C3 #EDB2DA

Accessibility & contrast

On white

3.79
#D54FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D54FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FAB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FAB#FFFFFF#000000##000000
##D54FAB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#818BA8
Tritanopia (blue-blind)
#E15076
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54fab;
/* rgb */ color: rgb(213, 79, 171);
/* oklch */ color: oklch(63.5% 0.195 342.1);
Tailwind
colors: {
  custom: {
    50: '#e588c4',
    500: '#d54fab',
    950: '#000000',
  },
}
SCSS
$custom: #d54fab;
$custom-light: #e588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fab",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 318.806,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63543,
    "c": 0.19486,
    "h": 342.1
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#D54FAB
secondary
#A5DBB6
accent
#E57643
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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