#D52277#D52277

#D52277 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.8% C 0.217 H 359.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D52277
RGBrgb(213, 34, 119)
HSLhsl(332, 72%, 48%)
HSVhsv(332, 84%, 84%)
CMYKcmyk(0%, 84%, 44.1%, 16.5%)
CIE-LABlab(47.79, 70.51, -1.80)
CIE-LCHlch(47.79, 70.53, 358.54°)
OKLaboklab(57.85% 0.2171 -0.0039)
OKLCHoklch(57.85% 0.217 359)
XYZxyz(31.3449, 16.6264, 19.0079)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52277 #22D580
analogous
#D522D0 #D52277 #D52622
triadic
#D52277 #77D522 #2277D5
tetradic
#D52277 #D0D522 #22D580 #2622D5
square
#D52277 #D0D522 #22D580 #2622D5
split-complementary
#D52277 #22D526 #22D0D5
monochromatic
#6B113C #A01A5A #D52277 #E35196 #EC86B6

Accessibility & contrast

On white

4.86
#D52277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D52277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52277
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52277#FFFFFF#000000##FFFFFF
##D522771.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d52277;
/* rgb */ color: rgb(213, 34, 119);
/* oklch */ color: oklch(57.8% 0.217 359.0);
Tailwind
colors: {
  custom: {
    50: '#e8749e',
    500: '#d52277',
    950: '#000000',
  },
}
SCSS
$custom: #d52277;
$custom-light: #e8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#d52277",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 331.508,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.21717,
    "h": 359
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#D52277
secondary
#7ED5AC
accent
#EF9839
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D52277

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

Preview Lab → · Contrast checker → · Palette generator →

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