#D42386#D42386

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

Color values

HEX#D42386
RGBrgb(212, 35, 134)
HSLhsl(326, 72%, 48%)
HSVhsv(326, 83%, 83%)
CMYKcmyk(0%, 83.5%, 36.8%, 16.9%)
CIE-LABlab(48.16, 71.47, -10.40)
CIE-LCHlch(48.16, 72.22, 351.72°)
OKLaboklab(58.25% 0.22 -0.0267)
OKLCHoklch(58.25% 0.222 353.1)
XYZxyz(32.0577, 16.9245, 24.1282)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42386 #23D471
analogous
#C923D4 #D42386 #D4232D
triadic
#D42386 #86D423 #2386D4
tetradic
#D42386 #D4C923 #23D471 #232DD4
square
#D42386 #D4C923 #23D471 #232DD4
split-complementary
#D42386 #2DD423 #23D4C9
monochromatic
#6B1244 #9F1A65 #D42386 #E252A3 #EB86BF

Accessibility & contrast

On white

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

On black

4.38
#D42386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D42386#FFFFFF#000000##FFFFFF
##D423861.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E88
Deuteranopia (green-blind)
#7C7E82
Tritanopia (blue-blind)
#E50053
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42386;
/* rgb */ color: rgb(212, 35, 134);
/* oklch */ color: oklch(58.3% 0.222 353.1);
Tailwind
colors: {
  custom: {
    50: '#e775a9',
    500: '#d42386',
    950: '#000000',
  },
}
SCSS
$custom: #d42386;
$custom-light: #e775a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d42386",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 326.441,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.22157,
    "h": 353.1
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#D42386
secondary
#7ED4A4
accent
#EE8939
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D42386

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

Preview Lab → · Contrast checker → · Palette generator →

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