#D54FAF#D54FAF

#D54FAF is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.7% C 0.197 H 340.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D54FAF
RGBrgb(213, 79, 175)
HSLhsl(317, 61%, 57%)
HSVhsv(317, 63%, 84%)
CMYKcmyk(0%, 62.9%, 17.8%, 16.5%)
CIE-LABlab(54.90, 62.64, -24.44)
CIE-LCHlch(54.90, 67.24, 338.69°)
OKLaboklab(63.71% 0.1862 -0.0657)
OKLCHoklch(63.71% 0.197 340.6)
XYZxyz(37.9753, 22.8366, 42.9570)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FAF #4FD575
analogous
#B84FD5 #D54FAF #D54F6C
triadic
#D54FAF #AFD54F #4FAFD5
tetradic
#D54FAF #D5B84F #4FD575 #4F6CD5
square
#D54FAF #D5B84F #4FD575 #4F6CD5
split-complementary
#D54FAF #6CD54F #4FD5B8
monochromatic
#89216B #BA2C92 #D54FAF #E180C5 #EDB2DC

Accessibility & contrast

On white

3.77
#D54FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D54FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FAF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FAF#FFFFFF#000000##000000
##D54FAF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#E15278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54faf;
/* rgb */ color: rgb(213, 79, 175);
/* oklch */ color: oklch(63.7% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#e588c7',
    500: '#d54faf',
    950: '#000000',
  },
}
SCSS
$custom: #d54faf;
$custom-light: #e588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54faf",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 317.015,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63714,
    "c": 0.19747,
    "h": 340.6
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#D54FAF
secondary
#A5DBB4
accent
#E57143
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D54FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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