#D42582#D42582

#D42582 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.2% C 0.218 H 354.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D42582
RGBrgb(212, 37, 130)
HSLhsl(328, 70%, 49%)
HSVhsv(328, 83%, 83%)
CMYKcmyk(0%, 82.5%, 38.7%, 16.9%)
CIE-LABlab(48.18, 70.64, -7.95)
CIE-LCHlch(48.18, 71.08, 353.58°)
OKLaboklab(58.22% 0.2175 -0.0201)
OKLCHoklch(58.22% 0.218 354.7)
XYZxyz(31.8445, 16.9360, 22.7068)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42582 #25D477
analogous
#CF25D4 #D42582 #D4252B
triadic
#D42582 #82D425 #2582D4
tetradic
#D42582 #D4CF25 #25D477 #252BD4
square
#D42582 #D4CF25 #25D477 #252BD4
split-complementary
#D42582 #2BD425 #25D4CF
monochromatic
#6C1342 #A01C62 #D42582 #E155A0 #EA89BD

Accessibility & contrast

On white

4.79
#D42582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#D42582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42582
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42582#FFFFFF#000000##FFFFFF
##D425821.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#7E7E7E
Tritanopia (blue-blind)
#E50052
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42582;
/* rgb */ color: rgb(212, 37, 130);
/* oklch */ color: oklch(58.2% 0.218 354.7);
Tailwind
colors: {
  custom: {
    50: '#e775a6',
    500: '#d42582',
    950: '#000000',
  },
}
SCSS
$custom: #d42582;
$custom-light: #e775a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d42582",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 328.114,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.21843,
    "h": 354.7
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#D42582
secondary
#81D4A8
accent
#ED8E3B
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D42582

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

Preview Lab → · Contrast checker → · Palette generator →

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