#D54CA2#D54CA2

#D54CA2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.193 H 345.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D54CA2
RGBrgb(213, 76, 162)
HSLhsl(322, 62%, 57%)
HSVhsv(322, 64%, 84%)
CMYKcmyk(0%, 64.3%, 23.9%, 16.5%)
CIE-LABlab(53.95, 62.08, -18.31)
CIE-LCHlch(53.95, 64.73, 343.57°)
OKLaboklab(62.85% 0.1872 -0.0485)
OKLCHoklch(62.85% 0.193 345.5)
XYZxyz(36.5479, 21.9273, 36.4830)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CA2 #4CD57F
analogous
#C44CD5 #D54CA2 #D54C5E
triadic
#D54CA2 #A2D54C #4CA2D5
tetradic
#D54CA2 #D5C44C #4CD57F #4C5ED5
square
#D54CA2 #D5C44C #4CD57F #4C5ED5
split-complementary
#D54CA2 #5ED54C #4CD5C4
monochromatic
#872060 #B92B84 #D54CA2 #E17EBC #ECAFD6

Accessibility & contrast

On white

3.90
#D54CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D54CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CA2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CA2#FFFFFF#000000##000000
##D54CA21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#82899F
Tritanopia (blue-blind)
#E34A70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d54ca2;
/* rgb */ color: rgb(213, 76, 162);
/* oklch */ color: oklch(62.8% 0.193 345.5);
Tailwind
colors: {
  custom: {
    50: '#e687bd',
    500: '#d54ca2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ca2;
$custom-light: #e687bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ca2",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 322.336,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.19339,
    "h": 345.5
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#D54CA2
secondary
#A2DAB7
accent
#E57F43
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D54CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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