#D52E78#D52E78

#D52E78 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.6% C 0.208 H 359.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D52E78
RGBrgb(213, 46, 120)
HSLhsl(333, 67%, 51%)
HSVhsv(333, 78%, 84%)
CMYKcmyk(0%, 78.4%, 43.7%, 16.5%)
CIE-LABlab(48.84, 67.69, -0.87)
CIE-LCHlch(48.84, 67.69, 359.26°)
OKLaboklab(58.63% 0.2081 -0.0015)
OKLCHoklch(58.63% 0.208 359.6)
XYZxyz(31.8102, 17.4604, 19.4608)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52E78 #2ED58B
analogous
#D52ECC #D52E78 #D5372E
triadic
#D52E78 #78D52E #2E78D5
tetradic
#D52E78 #CCD52E #2ED58B #372ED5
square
#D52E78 #CCD52E #2ED58B #372ED5
split-complementary
#D52E78 #2ED537 #2ECCD5
monochromatic
#72173F #A5215B #D52E78 #DF6199 #E994BA

Accessibility & contrast

On white

4.68
#D52E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D52E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52E78
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52E78#FFFFFF#000000##FFFFFF
##D52E781.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607A
Deuteranopia (green-blind)
#837F74
Tritanopia (blue-blind)
#E7034F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d52e78;
/* rgb */ color: rgb(213, 46, 120);
/* oklch */ color: oklch(58.6% 0.208 359.6);
Tailwind
colors: {
  custom: {
    50: '#e8789e',
    500: '#d52e78',
    950: '#000000',
  },
}
SCSS
$custom: #d52e78;
$custom-light: #e8789e;
$custom-dark: #000000;
JSON
{
  "hex": "#d52e78",
  "rgb": {
    "r": 213,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 333.413,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.20809,
    "h": 359.6
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#D52E78
secondary
#8AD4B4
accent
#E99E3E
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D52E78

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

Preview Lab → · Contrast checker → · Palette generator →

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