#D54BAB#D54BAB

#D54BAB is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.1% C 0.200 H 341.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D54BAB
RGBrgb(213, 75, 171)
HSLhsl(318, 62%, 56%)
HSVhsv(318, 65%, 84%)
CMYKcmyk(0%, 64.8%, 19.7%, 16.5%)
CIE-LABlab(54.16, 63.70, -23.26)
CIE-LCHlch(54.16, 67.81, 339.94°)
OKLaboklab(63.11% 0.1903 -0.0623)
OKLCHoklch(63.11% 0.2 341.9)
XYZxyz(37.3084, 22.1221, 40.8253)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BAB #4BD575
analogous
#BA4BD5 #D54BAB #D54B66
triadic
#D54BAB #ABD54B #4BABD5
tetradic
#D54BAB #D5BA4B #4BD575 #4B66D5
square
#D54BAB #D5BA4B #4BD575 #4B66D5
split-complementary
#D54BAB #66D54B #4BD5BA
monochromatic
#861F67 #B82B8D #D54BAB #E17DC2 #ECAED9

Accessibility & contrast

On white

3.87
#D54BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D54BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54BAB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54BAB#FFFFFF#000000##000000
##D54BAB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#E24D74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d54bab;
/* rgb */ color: rgb(213, 75, 171);
/* oklch */ color: oklch(63.1% 0.200 341.9);
Tailwind
colors: {
  custom: {
    50: '#e686c4',
    500: '#d54bab',
    950: '#000000',
  },
}
SCSS
$custom: #d54bab;
$custom-light: #e686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54bab",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 318.261,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.20028,
    "h": 341.9
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#D54BAB
secondary
#A2DAB3
accent
#E57443
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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