#D52DB2#D52DB2

#D52DB2 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.9% C 0.238 H 338.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D52DB2
RGBrgb(213, 45, 178)
HSLhsl(313, 67%, 51%)
HSVhsv(313, 79%, 84%)
CMYKcmyk(0%, 78.9%, 16.4%, 16.5%)
CIE-LABlab(50.97, 74.50, -32.30)
CIE-LCHlch(50.97, 81.20, 336.56°)
OKLaboklab(60.9% 0.2212 -0.0877)
OKLCHoklch(60.9% 0.238 338.4)
XYZxyz(36.4157, 19.2409, 43.9069)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52DB2 #2DD550
analogous
#A42DD5 #D52DB2 #D52D5E
triadic
#D52DB2 #B2D52D #2DB2D5
tetradic
#D52DB2 #D5A42D #2DD550 #2D5ED5
square
#D52DB2 #D5A42D #2DD550 #2D5ED5
split-complementary
#D52DB2 #5ED52D #2DD5A4
monochromatic
#71175E #A42189 #D52DB2 #DF60C5 #E993D7

Accessibility & contrast

On white

4.33
#D52DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D52DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D52DB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52DB2#FFFFFF#000000##000000
##D52DB21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#7183AE
Tritanopia (blue-blind)
#E1376E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d52db2;
/* rgb */ color: rgb(213, 45, 178);
/* oklch */ color: oklch(60.9% 0.238 338.4);
Tailwind
colors: {
  custom: {
    50: '#e679c9',
    500: '#d52db2',
    950: '#000000',
  },
}
SCSS
$custom: #d52db2;
$custom-light: #e679c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d52db2",
  "rgb": {
    "r": 213,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 312.5,
    "s": 66.667,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.2379,
    "h": 338.4
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#D52DB2
secondary
#8AD499
accent
#EA623E
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D52DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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