#D42382#D42382

#D42382 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.220 H 354.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D42382
RGBrgb(212, 35, 130)
HSLhsl(328, 72%, 48%)
HSVhsv(328, 83%, 83%)
CMYKcmyk(0%, 83.5%, 38.7%, 16.9%)
CIE-LABlab(48.03, 71.08, -8.18)
CIE-LCHlch(48.03, 71.55, 353.44°)
OKLaboklab(58.11% 0.2189 -0.0207)
OKLCHoklch(58.11% 0.22 354.6)
XYZxyz(31.7840, 16.8150, 22.6867)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42382 #23D475
analogous
#CD23D4 #D42382 #D42329
triadic
#D42382 #82D423 #2382D4
tetradic
#D42382 #D4CD23 #23D475 #2329D4
square
#D42382 #D4CD23 #23D475 #2329D4
split-complementary
#D42382 #29D423 #23D4CD
monochromatic
#6B1242 #9F1A62 #D42382 #E2529F #EB86BC

Accessibility & contrast

On white

4.81
#D42382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D42382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42382
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42382#FFFFFF#000000##FFFFFF
##D423821.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E84
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#E50051
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42382;
/* rgb */ color: rgb(212, 35, 130);
/* oklch */ color: oklch(58.1% 0.220 354.6);
Tailwind
colors: {
  custom: {
    50: '#e774a6',
    500: '#d42382',
    950: '#000000',
  },
}
SCSS
$custom: #d42382;
$custom-light: #e774a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d42382",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 327.797,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.21989,
    "h": 354.6
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#D42382
secondary
#7ED4A6
accent
#EE8D39
background
#FFF7FA
surface
#FEEEF4
border
#D6C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D42382

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

Preview Lab → · Contrast checker → · Palette generator →

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