#D52275#D52275

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

Color values

HEX#D52275
RGBrgb(213, 34, 117)
HSLhsl(332, 72%, 48%)
HSVhsv(332, 84%, 84%)
CMYKcmyk(0%, 84%, 45.1%, 16.5%)
CIE-LABlab(47.73, 70.33, -0.67)
CIE-LCHlch(47.73, 70.33, 359.46°)
OKLaboklab(57.78% 0.2165 -0.0009)
OKLCHoklch(57.78% 0.217 359.7)
XYZxyz(31.2261, 16.5789, 18.3819)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52275 #22D582
analogous
#D522CE #D52275 #D52822
triadic
#D52275 #75D522 #2275D5
tetradic
#D52275 #CED522 #22D582 #2822D5
square
#D52275 #CED522 #22D582 #2822D5
split-complementary
#D52275 #22D528 #22CED5
monochromatic
#6B113B #A01A58 #D52275 #E35195 #EC86B5

Accessibility & contrast

On white

4.87
#D52275 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D52275
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52275#FFFFFF#000000##FFFFFF
##D522751.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C77
Deuteranopia (green-blind)
#807D71
Tritanopia (blue-blind)
#E7004A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d52275;
/* rgb */ color: rgb(213, 34, 117);
/* oklch */ color: oklch(57.8% 0.217 359.7);
Tailwind
colors: {
  custom: {
    50: '#e8749c',
    500: '#d52275',
    950: '#000000',
  },
}
SCSS
$custom: #d52275;
$custom-light: #e8749c;
$custom-dark: #000000;
JSON
{
  "hex": "#d52275",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 332.179,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.21652,
    "h": 359.7
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#D52275
secondary
#7ED5AD
accent
#EF9B39
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D52275

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

Preview Lab → · Contrast checker → · Palette generator →

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