#D42378#D42378

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

Color values

HEX#D42378
RGBrgb(212, 35, 120)
HSLhsl(331, 72%, 48%)
HSVhsv(331, 83%, 83%)
CMYKcmyk(0%, 83.5%, 43.4%, 16.9%)
CIE-LABlab(47.70, 70.14, -2.56)
CIE-LCHlch(47.70, 70.19, 357.91°)
OKLaboklab(57.76% 0.216 -0.0059)
OKLCHoklch(57.76% 0.216 358.4)
XYZxyz(31.1451, 16.5594, 19.3219)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42378 #23D47F
analogous
#D423D0 #D42378 #D42623
triadic
#D42378 #78D423 #2378D4
tetradic
#D42378 #D0D423 #23D47F #2623D4
square
#D42378 #D0D423 #23D47F #2623D4
split-complementary
#D42378 #23D426 #23D0D4
monochromatic
#6B123D #9F1A5A #D42378 #E25297 #EB86B7

Accessibility & contrast

On white

4.87
#D42378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#D42378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42378
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42378#FFFFFF#000000##FFFFFF
##D423781.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7A
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#E6004C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42378;
/* rgb */ color: rgb(212, 35, 120);
/* oklch */ color: oklch(57.8% 0.216 358.4);
Tailwind
colors: {
  custom: {
    50: '#e7749e',
    500: '#d42378',
    950: '#000000',
  },
}
SCSS
$custom: #d42378;
$custom-light: #e7749e;
$custom-dark: #000000;
JSON
{
  "hex": "#d42378",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 331.186,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.21611,
    "h": 358.4
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#D42378
secondary
#7ED4AB
accent
#EE9739
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42378

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

Preview Lab → · Contrast checker → · Palette generator →

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