#D54F9C#D54F9C

#D54F9C is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.186 H 348.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D54F9C
RGBrgb(213, 79, 156)
HSLhsl(326, 61%, 57%)
HSVhsv(326, 63%, 84%)
CMYKcmyk(0%, 62.9%, 26.8%, 16.5%)
CIE-LABlab(54.18, 60.07, -14.44)
CIE-LCHlch(54.18, 61.78, 346.48°)
OKLaboklab(62.94% 0.182 -0.0379)
OKLCHoklch(62.94% 0.186 348.2)
XYZxyz(36.2388, 22.1420, 33.8114)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F9C #4FD588
analogous
#CB4FD5 #D54F9C #D54F59
triadic
#D54F9C #9CD54F #4F9CD5
tetradic
#D54F9C #D5CB4F #4FD588 #4F59D5
square
#D54F9C #D5CB4F #4FD588 #4F59D5
split-complementary
#D54F9C #59D54F #4FD5CB
monochromatic
#89215D #BA2C7E #D54F9C #E180B8 #EDB2D4

Accessibility & contrast

On white

3.87
#D54F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D54F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F9C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F9C#FFFFFF#000000##000000
##D54F9C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F739E
Deuteranopia (green-blind)
#858A99
Tritanopia (blue-blind)
#E34B6F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d54f9c;
/* rgb */ color: rgb(213, 79, 156);
/* oklch */ color: oklch(62.9% 0.186 348.2);
Tailwind
colors: {
  custom: {
    50: '#e688b9',
    500: '#d54f9c',
    950: '#000000',
  },
}
SCSS
$custom: #d54f9c;
$custom-light: #e688b9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f9c",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 325.522,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.18587,
    "h": 348.2
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#D54F9C
secondary
#A5DBBC
accent
#E58843
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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