#D42396#D42396

#D42396 is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.9% C 0.229 H 347.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D42396
RGBrgb(212, 35, 150)
HSLhsl(321, 72%, 48%)
HSVhsv(321, 83%, 83%)
CMYKcmyk(0%, 83.5%, 29.2%, 16.9%)
CIE-LABlab(48.77, 73.17, -19.13)
CIE-LCHlch(48.77, 75.63, 345.35°)
OKLaboklab(58.88% 0.2235 -0.0506)
OKLCHoklch(58.88% 0.229 347.3)
XYZxyz(33.2592, 17.4051, 30.4563)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42396 #23D461
analogous
#B923D4 #D42396 #D4233D
triadic
#D42396 #96D423 #2396D4
tetradic
#D42396 #D4B923 #23D461 #233DD4
square
#D42396 #D4B923 #23D461 #233DD4
split-complementary
#D42396 #3DD423 #23D4B9
monochromatic
#6B124C #9F1A71 #D42396 #E252B0 #EB86C8

Accessibility & contrast

On white

4.69
#D42396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#D42396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42396
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42396#FFFFFF#000000##FFFFFF
##D423961.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#787E92
Tritanopia (blue-blind)
#E3185C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d42396;
/* rgb */ color: rgb(212, 35, 150);
/* oklch */ color: oklch(58.9% 0.229 347.3);
Tailwind
colors: {
  custom: {
    50: '#e675b5',
    500: '#d42396',
    950: '#000000',
  },
}
SCSS
$custom: #d42396;
$custom-light: #e675b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d42396",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 321.017,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.22918,
    "h": 347.3
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#D42396
secondary
#7ED49D
accent
#EE7939
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42396

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

Preview Lab → · Contrast checker → · Palette generator →

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