#D54FA2#D54FA2

#D54FA2 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.2% C 0.189 H 345.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D54FA2
RGBrgb(213, 79, 162)
HSLhsl(323, 61%, 57%)
HSVhsv(323, 63%, 84%)
CMYKcmyk(0%, 62.9%, 23.9%, 16.5%)
CIE-LABlab(54.40, 60.86, -17.63)
CIE-LCHlch(54.40, 63.36, 343.85°)
OKLaboklab(63.18% 0.1835 -0.0467)
OKLCHoklch(63.18% 0.189 345.7)
XYZxyz(36.7594, 22.3503, 36.5535)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FA2 #4FD582
analogous
#C54FD5 #D54FA2 #D54F5F
triadic
#D54FA2 #A2D54F #4FA2D5
tetradic
#D54FA2 #D5C54F #4FD582 #4F5FD5
square
#D54FA2 #D5C54F #4FD582 #4F5FD5
split-complementary
#D54FA2 #5FD54F #4FD5C5
monochromatic
#892161 #BA2C84 #D54FA2 #E180BC #EDB2D6

Accessibility & contrast

On white

3.84
#D54FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D54FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FA2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FA2#FFFFFF#000000##000000
##D54FA21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A5
Deuteranopia (green-blind)
#848A9F
Tritanopia (blue-blind)
#E34D72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d54fa2;
/* rgb */ color: rgb(213, 79, 162);
/* oklch */ color: oklch(63.2% 0.189 345.7);
Tailwind
colors: {
  custom: {
    50: '#e688bd',
    500: '#d54fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d54fa2;
$custom-light: #e688bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fa2",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 322.836,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63175,
    "c": 0.1893,
    "h": 345.7
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#D54FA2
secondary
#A5DBB9
accent
#E58143
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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