#D54F9E#D54F9E

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

Color values

HEX#D54F9E
RGBrgb(213, 79, 158)
HSLhsl(325, 61%, 57%)
HSVhsv(325, 63%, 84%)
CMYKcmyk(0%, 62.9%, 25.8%, 16.5%)
CIE-LABlab(54.25, 60.33, -15.51)
CIE-LCHlch(54.25, 62.29, 345.59°)
OKLaboklab(63.02% 0.1825 -0.0408)
OKLCHoklch(63.02% 0.187 347.4)
XYZxyz(36.4095, 22.2103, 34.7107)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F9E #4FD586
analogous
#C94FD5 #D54F9E #D54F5B
triadic
#D54F9E #9ED54F #4F9ED5
tetradic
#D54F9E #D5C94F #4FD586 #4F5BD5
square
#D54F9E #D5C94F #4FD586 #4F5BD5
split-complementary
#D54F9E #5BD54F #4FD5C9
monochromatic
#89215E #BA2C80 #D54F9E #E180B9 #EDB2D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54F9E#FFFFFF#000000##000000
##D54F9E1.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)
#5F73A0
Deuteranopia (green-blind)
#858A9B
Tritanopia (blue-blind)
#E34B70
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d54f9e;
/* rgb */ color: rgb(213, 79, 158);
/* oklch */ color: oklch(63.0% 0.187 347.4);
Tailwind
colors: {
  custom: {
    50: '#e688ba',
    500: '#d54f9e',
    950: '#000000',
  },
}
SCSS
$custom: #d54f9e;
$custom-light: #e688ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f9e",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 324.627,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.18698,
    "h": 347.4
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#D54F9E
secondary
#A5DBBB
accent
#E58543
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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