#D54FAC#D54FAC

#D54FAC is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.6% C 0.196 H 341.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D54FAC
RGBrgb(213, 79, 172)
HSLhsl(318, 61%, 57%)
HSVhsv(318, 63%, 84%)
CMYKcmyk(0%, 62.9%, 19.2%, 16.5%)
CIE-LABlab(54.78, 62.22, -22.88)
CIE-LCHlch(54.78, 66.29, 339.81°)
OKLaboklab(63.59% 0.1856 -0.0613)
OKLCHoklch(63.59% 0.196 341.7)
XYZxyz(37.6839, 22.7201, 41.4225)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FAC #4FD578
analogous
#BB4FD5 #D54FAC #D54F69
triadic
#D54FAC #ACD54F #4FACD5
tetradic
#D54FAC #D5BB4F #4FD578 #4F69D5
square
#D54FAC #D5BB4F #4FD578 #4F69D5
split-complementary
#D54FAC #69D54F #4FD5BB
monochromatic
#892169 #BA2C8F #D54FAC #E180C3 #EDB2DB

Accessibility & contrast

On white

3.79
#D54FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D54FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FAC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FAC#FFFFFF#000000##000000
##D54FAC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#E15176
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54fac;
/* rgb */ color: rgb(213, 79, 172);
/* oklch */ color: oklch(63.6% 0.196 341.7);
Tailwind
colors: {
  custom: {
    50: '#e588c5',
    500: '#d54fac',
    950: '#000000',
  },
}
SCSS
$custom: #d54fac;
$custom-light: #e588c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fac",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 318.358,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.1955,
    "h": 341.7
  },
  "luminance": 0.22717
}

Semantic roles & 50–950 ramp

primary
#D54FAC
secondary
#A5DBB5
accent
#E57543
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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