#D54ABA#D54ABA

#D54ABA is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.7% C 0.212 H 336.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D54ABA
RGBrgb(213, 74, 186)
HSLhsl(312, 62%, 56%)
HSVhsv(312, 65%, 84%)
CMYKcmyk(0%, 65.3%, 12.7%, 16.5%)
CIE-LABlab(54.65, 66.23, -31.21)
CIE-LCHlch(54.65, 73.22, 334.77°)
OKLaboklab(63.68% 0.194 -0.0848)
OKLCHoklch(63.68% 0.212 336.4)
XYZxyz(38.7528, 22.5922, 48.7646)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54ABA #4AD565
analogous
#AB4AD5 #D54ABA #D54A75
triadic
#D54ABA #BAD54A #4ABAD5
tetradic
#D54ABA #D5AB4A #4AD565 #4A75D5
square
#D54ABA #D5AB4A #4AD565 #4A75D5
split-complementary
#D54ABA #75D54A #4AD5AB
monochromatic
#861F72 #B72B9C #D54ABA #E17CCD #ECADE0

Accessibility & contrast

On white

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

On black

5.52
#D54ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54ABA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54ABA#FFFFFF#000000##000000
##D54ABA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#798AB7
Tritanopia (blue-blind)
#E0527B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54aba;
/* rgb */ color: rgb(213, 74, 186);
/* oklch */ color: oklch(63.7% 0.212 336.4);
Tailwind
colors: {
  custom: {
    50: '#e586cf',
    500: '#d54aba',
    950: '#000000',
  },
}
SCSS
$custom: #d54aba;
$custom-light: #e586cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d54aba",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 311.655,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.21173,
    "h": 336.4
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#D54ABA
secondary
#A1DAAC
accent
#E56242
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D54ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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