#D42479#D42479

#D42479 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.9% C 0.216 H 358.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D42479
RGBrgb(212, 36, 121)
HSLhsl(331, 71%, 49%)
HSVhsv(331, 83%, 83%)
CMYKcmyk(0%, 83%, 42.9%, 16.9%)
CIE-LABlab(47.81, 70.01, -3.02)
CIE-LCHlch(47.81, 70.08, 357.53°)
OKLaboklab(57.85% 0.2156 -0.0071)
OKLCHoklch(57.85% 0.216 358.1)
XYZxyz(31.2359, 16.6435, 19.6531)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42479 #24D47F
analogous
#D424D1 #D42479 #D42724
triadic
#D42479 #79D424 #2479D4
tetradic
#D42479 #D1D424 #24D47F #2724D4
square
#D42479 #D1D424 #24D47F #2724D4
split-complementary
#D42479 #24D427 #24D1D4
monochromatic
#6B123D #A01B5B #D42479 #E25398 #EB88B8

Accessibility & contrast

On white

4.85
#D42479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#D42479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42479
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42479#FFFFFF#000000##FFFFFF
##D424791.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7B
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#E6004D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42479;
/* rgb */ color: rgb(212, 36, 121);
/* oklch */ color: oklch(57.9% 0.216 358.1);
Tailwind
colors: {
  custom: {
    50: '#e7749f',
    500: '#d42479',
    950: '#000000',
  },
}
SCSS
$custom: #d42479;
$custom-light: #e7749f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42479",
  "rgb": {
    "r": 212,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 331.023,
    "s": 70.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.21575,
    "h": 358.1
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#D42479
secondary
#80D4AB
accent
#EE973A
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42479

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

Preview Lab → · Contrast checker → · Palette generator →

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