#D52078#D52078

#D52078 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.8% C 0.219 H 358.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D52078
RGBrgb(213, 32, 120)
HSLhsl(331, 74%, 48%)
HSVhsv(331, 85%, 84%)
CMYKcmyk(0%, 85%, 43.7%, 16.5%)
CIE-LABlab(47.67, 71.00, -2.58)
CIE-LCHlch(47.67, 71.05, 357.92°)
OKLaboklab(57.78% 0.2188 -0.0059)
OKLCHoklch(57.78% 0.219 358.5)
XYZxyz(31.3498, 16.5395, 19.3073)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52078 #20D57D
analogous
#D520D2 #D52078 #D52320
triadic
#D52078 #78D520 #2078D5
tetradic
#D52078 #D2D520 #20D57D #2320D5
square
#D52078 #D2D520 #20D57D #2320D5
split-complementary
#D52078 #20D523 #20D2D5
monochromatic
#6B103C #A0185A #D52078 #E44E97 #EC83B6

Accessibility & contrast

On white

4.88
#D52078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#D52078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52078
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52078#FFFFFF#000000##FFFFFF
##D520781.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#E7004B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d52078;
/* rgb */ color: rgb(213, 32, 120);
/* oklch */ color: oklch(57.8% 0.219 358.5);
Tailwind
colors: {
  custom: {
    50: '#e8739e',
    500: '#d52078',
    950: '#000000',
  },
}
SCSS
$custom: #d52078;
$custom-light: #e8739e;
$custom-dark: #000000;
JSON
{
  "hex": "#d52078",
  "rgb": {
    "r": 213,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 330.829,
    "s": 73.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.21885,
    "h": 358.5
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#D52078
secondary
#7CD5AA
accent
#F19637
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D52078

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

Preview Lab → · Contrast checker → · Palette generator →

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