#D52278#D52278

#D52278 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.9% C 0.218 H 358.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D52278
RGBrgb(213, 34, 120)
HSLhsl(331, 72%, 48%)
HSVhsv(331, 84%, 84%)
CMYKcmyk(0%, 84%, 43.7%, 16.5%)
CIE-LABlab(47.82, 70.60, -2.37)
CIE-LCHlch(47.82, 70.63, 358.08°)
OKLaboklab(57.88% 0.2175 -0.0054)
OKLCHoklch(57.88% 0.218 358.6)
XYZxyz(31.4053, 16.6506, 19.3258)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52278 #22D57F
analogous
#D522D1 #D52278 #D52522
triadic
#D52278 #78D522 #2278D5
tetradic
#D52278 #D1D522 #22D57F #2522D5
square
#D52278 #D1D522 #22D57F #2522D5
split-complementary
#D52278 #22D525 #22D1D5
monochromatic
#6B113D #A01A5A #D52278 #E35197 #EC86B7

Accessibility & contrast

On white

4.85
#D52278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#D52278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52278
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52278#FFFFFF#000000##FFFFFF
##D522781.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7A
Deuteranopia (green-blind)
#807D74
Tritanopia (blue-blind)
#E7004B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d52278;
/* rgb */ color: rgb(213, 34, 120);
/* oklch */ color: oklch(57.9% 0.218 358.6);
Tailwind
colors: {
  custom: {
    50: '#e8749e',
    500: '#d52278',
    950: '#000000',
  },
}
SCSS
$custom: #d52278;
$custom-light: #e8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#d52278",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 331.173,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.21752,
    "h": 358.6
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#D52278
secondary
#7ED5AB
accent
#EF9739
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D52278

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

Preview Lab → · Contrast checker → · Palette generator →

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