#D42381#D42381

#D42381 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.219 H 355.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D42381
RGBrgb(212, 35, 129)
HSLhsl(328, 72%, 48%)
HSVhsv(328, 83%, 83%)
CMYKcmyk(0%, 83.5%, 39.2%, 16.9%)
CIE-LABlab(47.99, 70.98, -7.62)
CIE-LCHlch(47.99, 71.39, 353.87°)
OKLaboklab(58.07% 0.2186 -0.0192)
OKLCHoklch(58.07% 0.219 355)
XYZxyz(31.7172, 16.7883, 22.3349)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42381 #23D476
analogous
#CE23D4 #D42381 #D42328
triadic
#D42381 #81D423 #2381D4
tetradic
#D42381 #D4CE23 #23D476 #2328D4
square
#D42381 #D4CE23 #23D476 #2328D4
split-complementary
#D42381 #28D423 #23D4CE
monochromatic
#6B1241 #9F1A61 #D42381 #E2529F #EB86BC

Accessibility & contrast

On white

4.82
#D42381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D42381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42381
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42381#FFFFFF#000000##FFFFFF
##D423811.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D83
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#E50051
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42381;
/* rgb */ color: rgb(212, 35, 129);
/* oklch */ color: oklch(58.1% 0.219 355.0);
Tailwind
colors: {
  custom: {
    50: '#e774a5',
    500: '#d42381',
    950: '#000000',
  },
}
SCSS
$custom: #d42381;
$custom-light: #e774a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d42381",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 328.136,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.21948,
    "h": 355
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#D42381
secondary
#7ED4A7
accent
#EE8E39
background
#FFF7FA
surface
#FEEEF4
border
#D6C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D42381

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

Preview Lab → · Contrast checker → · Palette generator →

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