#D42371#D42371

#D42371 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.5% C 0.214 H 1.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D42371
RGBrgb(212, 35, 113)
HSLhsl(334, 72%, 48%)
HSVhsv(334, 83%, 83%)
CMYKcmyk(0%, 83.5%, 46.7%, 16.9%)
CIE-LABlab(47.49, 69.53, 1.42)
CIE-LCHlch(47.49, 69.55, 1.17°)
OKLaboklab(57.54% 0.2138 0.0044)
OKLCHoklch(57.54% 0.214 1.2)
XYZxyz(30.7357, 16.3957, 17.1658)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42371 #23D486
analogous
#D423C9 #D42371 #D42D23
triadic
#D42371 #71D423 #2371D4
tetradic
#D42371 #C9D423 #23D486 #2D23D4
square
#D42371 #C9D423 #23D486 #2D23D4
split-complementary
#D42371 #23D42D #23C9D4
monochromatic
#6B1239 #9F1A55 #D42371 #E25292 #EB86B3

Accessibility & contrast

On white

4.91
#D42371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#D42371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42371
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42371#FFFFFF#000000##FFFFFF
##D423711.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#E70048
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42371;
/* rgb */ color: rgb(212, 35, 113);
/* oklch */ color: oklch(57.5% 0.214 1.2);
Tailwind
colors: {
  custom: {
    50: '#e87499',
    500: '#d42371',
    950: '#000000',
  },
}
SCSS
$custom: #d42371;
$custom-light: #e87499;
$custom-dark: #000000;
JSON
{
  "hex": "#d42371",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 333.559,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.21386,
    "h": 1.2
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#D42371
secondary
#7ED4AE
accent
#EE9F39
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42371

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

Preview Lab → · Contrast checker → · Palette generator →

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