#D54BA2#D54BA2

#D54BA2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.195 H 345.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D54BA2
RGBrgb(213, 75, 162)
HSLhsl(322, 62%, 56%)
HSVhsv(322, 65%, 84%)
CMYKcmyk(0%, 64.8%, 23.9%, 16.5%)
CIE-LABlab(53.80, 62.48, -18.53)
CIE-LCHlch(53.80, 65.17, 343.48°)
OKLaboklab(62.74% 0.1884 -0.0491)
OKLCHoklch(62.74% 0.195 345.4)
XYZxyz(36.4796, 21.7905, 36.4602)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BA2 #4BD57E
analogous
#C34BD5 #D54BA2 #D54B5D
triadic
#D54BA2 #A2D54B #4BA2D5
tetradic
#D54BA2 #D5C34B #4BD57E #4B5DD5
square
#D54BA2 #D5C34B #4BD57E #4B5DD5
split-complementary
#D54BA2 #5DD54B #4BD5C3
monochromatic
#861F60 #B82B84 #D54BA2 #E17DBC #ECAED5

Accessibility & contrast

On white

3.92
#D54BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D54BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54BA2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54BA2#FFFFFF#000000##000000
##D54BA21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d54ba2;
/* rgb */ color: rgb(213, 75, 162);
/* oklch */ color: oklch(62.7% 0.195 345.4);
Tailwind
colors: {
  custom: {
    50: '#e686bd',
    500: '#d54ba2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ba2;
$custom-light: #e686bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ba2",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 322.174,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62739,
    "c": 0.19473,
    "h": 345.4
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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