#D42399#D42399

#D42399 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.231 H 346.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D42399
RGBrgb(212, 35, 153)
HSLhsl(320, 72%, 48%)
HSVhsv(320, 83%, 83%)
CMYKcmyk(0%, 83.5%, 27.8%, 16.9%)
CIE-LABlab(48.89, 73.51, -20.74)
CIE-LCHlch(48.89, 76.38, 344.24°)
OKLaboklab(59.01% 0.2241 -0.055)
OKLCHoklch(59.01% 0.231 346.2)
XYZxyz(33.5039, 17.5029, 31.7449)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42399 #23D45E
analogous
#B623D4 #D42399 #D42340
triadic
#D42399 #99D423 #2399D4
tetradic
#D42399 #D4B623 #23D45E #2340D4
square
#D42399 #D4B623 #23D45E #2340D4
split-complementary
#D42399 #40D423 #23D4B6
monochromatic
#6B124D #9F1A73 #D42399 #E252B2 #EB86C9

Accessibility & contrast

On white

4.67
#D42399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#D42399 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D42399
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42399#FFFFFF#000000##FFFFFF
##D423991.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619C
Deuteranopia (green-blind)
#777F95
Tritanopia (blue-blind)
#E31B5E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d42399;
/* rgb */ color: rgb(212, 35, 153);
/* oklch */ color: oklch(59.0% 0.231 346.2);
Tailwind
colors: {
  custom: {
    50: '#e675b7',
    500: '#d42399',
    950: '#000000',
  },
}
SCSS
$custom: #d42399;
$custom-light: #e675b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d42399",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 320,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.23074,
    "h": 346.2
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#D42399
secondary
#7ED49B
accent
#EE7639
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42399

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

Preview Lab → · Contrast checker → · Palette generator →

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