#D42176#D42176

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

Color values

HEX#D42176
RGBrgb(212, 33, 118)
HSLhsl(332, 73%, 48%)
HSVhsv(332, 84%, 83%)
CMYKcmyk(0%, 84.4%, 44.3%, 16.9%)
CIE-LABlab(47.49, 70.39, -1.64)
CIE-LCHlch(47.49, 70.41, 358.66°)
OKLaboklab(57.59% 0.2168 -0.0035)
OKLCHoklch(57.59% 0.217 359.1)
XYZxyz(30.9678, 16.3970, 18.6703)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42176 #21D47F
analogous
#D421CF #D42176 #D42521
triadic
#D42176 #76D421 #2176D4
tetradic
#D42176 #CFD421 #21D47F #2521D4
square
#D42176 #CFD421 #21D47F #2521D4
split-complementary
#D42176 #21D425 #21CFD4
monochromatic
#6A113B #9F1959 #D42176 #E44F95 #EC84B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42176#FFFFFF#000000##FFFFFF
##D421761.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)
#4F5B78
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#E6004A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42176;
/* rgb */ color: rgb(212, 33, 118);
/* oklch */ color: oklch(57.6% 0.217 359.1);
Tailwind
colors: {
  custom: {
    50: '#e8739d',
    500: '#d42176',
    950: '#000000',
  },
}
SCSS
$custom: #d42176;
$custom-light: #e8739d;
$custom-dark: #000000;
JSON
{
  "hex": "#d42176",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 331.508,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.21681,
    "h": 359.1
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#D42176
secondary
#7CD5AB
accent
#F09938
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#17090E
muted
#857B7E

Preview Lab

Preview with #D42176

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

Preview Lab → · Contrast checker → · Palette generator →

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