#D42387#D42387

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

Color values

HEX#D42387
RGBrgb(212, 35, 135)
HSLhsl(326, 72%, 48%)
HSVhsv(326, 83%, 83%)
CMYKcmyk(0%, 83.5%, 36.3%, 16.9%)
CIE-LABlab(48.20, 71.57, -10.95)
CIE-LCHlch(48.20, 72.41, 351.30°)
OKLaboklab(58.29% 0.2202 -0.0281)
OKLCHoklch(58.29% 0.222 352.7)
XYZxyz(32.1277, 16.9525, 24.4973)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42387 #23D470
analogous
#C823D4 #D42387 #D4232E
triadic
#D42387 #87D423 #2387D4
tetradic
#D42387 #D4C823 #23D470 #232ED4
square
#D42387 #D4C823 #23D470 #232ED4
split-complementary
#D42387 #2ED423 #23D4C8
monochromatic
#6B1244 #9F1A66 #D42387 #E252A3 #EB86BF

Accessibility & contrast

On white

4.78
#D42387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D42387
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42387#FFFFFF#000000##FFFFFF
##D423871.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#7C7E83
Tritanopia (blue-blind)
#E50054
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42387;
/* rgb */ color: rgb(212, 35, 135);
/* oklch */ color: oklch(58.3% 0.222 352.7);
Tailwind
colors: {
  custom: {
    50: '#e775aa',
    500: '#d42387',
    950: '#000000',
  },
}
SCSS
$custom: #d42387;
$custom-light: #e775aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d42387",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 326.102,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.222,
    "h": 352.7
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#D42387
secondary
#7ED4A4
accent
#EE8839
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D42387

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

Preview Lab → · Contrast checker → · Palette generator →

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