#D54FA8#D54FA8

#D54FA8 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.4% C 0.193 H 343.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D54FA8
RGBrgb(213, 79, 168)
HSLhsl(320, 61%, 57%)
HSVhsv(320, 63%, 84%)
CMYKcmyk(0%, 62.9%, 21.1%, 16.5%)
CIE-LABlab(54.63, 61.67, -20.79)
CIE-LCHlch(54.63, 65.08, 341.37°)
OKLaboklab(63.42% 0.1848 -0.0555)
OKLCHoklch(63.42% 0.193 343.3)
XYZxyz(37.3056, 22.5687, 39.4297)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FA8 #4FD57C
analogous
#BF4FD5 #D54FA8 #D54F65
triadic
#D54FA8 #A8D54F #4FA8D5
tetradic
#D54FA8 #D5BF4F #4FD57C #4F65D5
square
#D54FA8 #D5BF4F #4FD57C #4F65D5
split-complementary
#D54FA8 #65D54F #4FD5BF
monochromatic
#892166 #BA2C8B #D54FA8 #E180C0 #EDB2D9

Accessibility & contrast

On white

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

On black

5.51
#D54FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FA8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FA8#FFFFFF#000000##000000
##D54FA81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AB
Deuteranopia (green-blind)
#828BA5
Tritanopia (blue-blind)
#E24F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54fa8;
/* rgb */ color: rgb(213, 79, 168);
/* oklch */ color: oklch(63.4% 0.193 343.3);
Tailwind
colors: {
  custom: {
    50: '#e588c2',
    500: '#d54fa8',
    950: '#000000',
  },
}
SCSS
$custom: #d54fa8;
$custom-light: #e588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fa8",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 320.149,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63418,
    "c": 0.19295,
    "h": 343.3
  },
  "luminance": 0.22565
}

Semantic roles & 50–950 ramp

primary
#D54FA8
secondary
#A5DBB7
accent
#E57943
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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