#D52EA3#D52EA3

#D52EA3 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.3% C 0.228 H 343.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D52EA3
RGBrgb(213, 46, 163)
HSLhsl(318, 67%, 51%)
HSVhsv(318, 78%, 84%)
CMYKcmyk(0%, 78.4%, 23.5%, 16.5%)
CIE-LABlab(50.39, 72.31, -24.36)
CIE-LCHlch(50.39, 76.31, 341.38°)
OKLaboklab(60.27% 0.2185 -0.0652)
OKLCHoklch(60.27% 0.228 343.4)
XYZxyz(35.0298, 18.7483, 36.4172)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52EA3 #2ED560
analogous
#B32ED5 #D52EA3 #D52E4F
triadic
#D52EA3 #A3D52E #2EA3D5
tetradic
#D52EA3 #D5B32E #2ED560 #2E4FD5
square
#D52EA3 #D5B32E #2ED560 #2E4FD5
split-complementary
#D52EA3 #4FD52E #2ED5B3
monochromatic
#721757 #A5217D #D52EA3 #DF61B9 #E994D0

Accessibility & contrast

On white

4.42
#D52EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D52EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D52EA3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52EA3#FFFFFF#000000##000000
##D52EA31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#E32E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d52ea3;
/* rgb */ color: rgb(213, 46, 163);
/* oklch */ color: oklch(60.3% 0.228 343.4);
Tailwind
colors: {
  custom: {
    50: '#e779be',
    500: '#d52ea3',
    950: '#000000',
  },
}
SCSS
$custom: #d52ea3;
$custom-light: #e779be;
$custom-dark: #000000;
JSON
{
  "hex": "#d52ea3",
  "rgb": {
    "r": 213,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 317.964,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.228,
    "h": 343.4
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#D52EA3
secondary
#8AD4A1
accent
#E9723E
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#170A12
muted
#857C81

Preview Lab

Preview with #D52EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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