#D52E77#D52E77

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

Color values

HEX#D52E77
RGBrgb(213, 46, 119)
HSLhsl(334, 67%, 51%)
HSVhsv(334, 78%, 84%)
CMYKcmyk(0%, 78.4%, 44.1%, 16.5%)
CIE-LABlab(48.81, 67.59, -0.31)
CIE-LCHlch(48.81, 67.60, 359.74°)
OKLaboklab(58.59% 0.2078 0)
OKLCHoklch(58.59% 0.208 0)
XYZxyz(31.7499, 17.4363, 19.1428)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52E77 #2ED58C
analogous
#D52ECB #D52E77 #D5382E
triadic
#D52E77 #77D52E #2E77D5
tetradic
#D52E77 #CBD52E #2ED58C #382ED5
square
#D52E77 #CBD52E #2ED58C #382ED5
split-complementary
#D52E77 #2ED538 #2ECBD5
monochromatic
#72173F #A5215B #D52E77 #DF6198 #E994B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D52E77#FFFFFF#000000##FFFFFF
##D52E771.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)
#566079
Deuteranopia (green-blind)
#837F73
Tritanopia (blue-blind)
#E7024F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d52e77;
/* rgb */ color: rgb(213, 46, 119);
/* oklch */ color: oklch(58.6% 0.208 360.0);
Tailwind
colors: {
  custom: {
    50: '#e8789e',
    500: '#d52e77',
    950: '#000000',
  },
}
SCSS
$custom: #d52e77;
$custom-light: #e8789e;
$custom-dark: #000000;
JSON
{
  "hex": "#d52e77",
  "rgb": {
    "r": 213,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 333.772,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.20776,
    "h": 360
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D52E77

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

Preview Lab → · Contrast checker → · Palette generator →

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