#D42179#D42179

#D42179 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.218 H 357.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D42179
RGBrgb(212, 33, 121)
HSLhsl(331, 73%, 48%)
HSVhsv(331, 84%, 83%)
CMYKcmyk(0%, 84.4%, 42.9%, 16.9%)
CIE-LABlab(47.58, 70.65, -3.34)
CIE-LCHlch(47.58, 70.73, 357.29°)
OKLaboklab(57.69% 0.2177 -0.0079)
OKLCHoklch(57.69% 0.218 357.9)
XYZxyz(31.1489, 16.4695, 19.6241)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42179 #21D47C
analogous
#D421D2 #D42179 #D42321
triadic
#D42179 #79D421 #2179D4
tetradic
#D42179 #D2D421 #21D47C #2321D4
square
#D42179 #D2D421 #21D47C #2321D4
split-complementary
#D42179 #21D423 #21D2D4
monochromatic
#6A113D #9F195B #D42179 #E44F98 #EC84B7

Accessibility & contrast

On white

4.89
#D42179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#D42179 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42179
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42179#FFFFFF#000000##FFFFFF
##D421791.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7B
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#E6004C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42179;
/* rgb */ color: rgb(212, 33, 121);
/* oklch */ color: oklch(57.7% 0.218 357.9);
Tailwind
colors: {
  custom: {
    50: '#e7749f',
    500: '#d42179',
    950: '#000000',
  },
}
SCSS
$custom: #d42179;
$custom-light: #e7749f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42179",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 330.503,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.21783,
    "h": 357.9
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#D42179
secondary
#7CD5A9
accent
#F09538
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42179

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

Preview Lab → · Contrast checker → · Palette generator →

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