#D54EA2#D54EA2

#D54EA2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.191 H 345.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D54EA2
RGBrgb(213, 78, 162)
HSLhsl(323, 62%, 57%)
HSVhsv(323, 63%, 84%)
CMYKcmyk(0%, 63.4%, 23.9%, 16.5%)
CIE-LABlab(54.25, 61.27, -17.86)
CIE-LCHlch(54.25, 63.82, 343.75°)
OKLaboklab(63.06% 0.1847 -0.0473)
OKLCHoklch(63.06% 0.191 345.6)
XYZxyz(36.6879, 22.2071, 36.5297)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EA2 #4ED581
analogous
#C54ED5 #D54EA2 #D54E5E
triadic
#D54EA2 #A2D54E #4EA2D5
tetradic
#D54EA2 #D5C54E #4ED581 #4E5ED5
square
#D54EA2 #D5C54E #4ED581 #4E5ED5
split-complementary
#D54EA2 #5ED54E #4ED5C5
monochromatic
#882061 #BA2C84 #D54EA2 #E17FBC #ECB1D6

Accessibility & contrast

On white

3.86
#D54EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D54EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54EA2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54EA2#FFFFFF#000000##000000
##D54EA21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A5
Deuteranopia (green-blind)
#838A9F
Tritanopia (blue-blind)
#E34C71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d54ea2;
/* rgb */ color: rgb(213, 78, 162);
/* oklch */ color: oklch(63.1% 0.191 345.6);
Tailwind
colors: {
  custom: {
    50: '#e688bd',
    500: '#d54ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ea2;
$custom-light: #e688bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ea2",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 322.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63064,
    "c": 0.19067,
    "h": 345.6
  },
  "luminance": 0.22204
}

Semantic roles & 50–950 ramp

primary
#D54EA2
secondary
#A4DBB9
accent
#E58043
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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