#D54CB2#D54CB2

#D54CB2 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.5% C 0.204 H 339.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D54CB2
RGBrgb(213, 76, 178)
HSLhsl(315, 62%, 57%)
HSVhsv(315, 64%, 84%)
CMYKcmyk(0%, 64.3%, 16.4%, 16.5%)
CIE-LABlab(54.59, 64.28, -26.67)
CIE-LCHlch(54.59, 69.60, 337.47°)
OKLaboklab(63.52% 0.1904 -0.0719)
OKLCHoklch(63.52% 0.204 339.3)
XYZxyz(38.0617, 22.5328, 44.4555)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CB2 #4CD56F
analogous
#B34CD5 #D54CB2 #D54C6E
triadic
#D54CB2 #B2D54C #4CB2D5
tetradic
#D54CB2 #D5B34C #4CD56F #4C6ED5
square
#D54CB2 #D5B34C #4CD56F #4C6ED5
split-complementary
#D54CB2 #6ED54C #4CD5B3
monochromatic
#87206D #B92B94 #D54CB2 #E17EC7 #ECAFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54CB2#FFFFFF#000000##000000
##D54CB21.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)
#5375B5
Deuteranopia (green-blind)
#7D8AAF
Tritanopia (blue-blind)
#E15078
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d54cb2;
/* rgb */ color: rgb(213, 76, 178);
/* oklch */ color: oklch(63.5% 0.204 339.3);
Tailwind
colors: {
  custom: {
    50: '#e587c9',
    500: '#d54cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d54cb2;
$custom-light: #e587c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cb2",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 315.328,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.20356,
    "h": 339.3
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#D54CB2
secondary
#A2DAB1
accent
#E56C43
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D54CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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