#D42388#D42388

#D42388 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.222 H 352.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D42388
RGBrgb(212, 35, 136)
HSLhsl(326, 72%, 48%)
HSVhsv(326, 83%, 83%)
CMYKcmyk(0%, 83.5%, 35.8%, 16.9%)
CIE-LABlab(48.24, 71.67, -11.50)
CIE-LCHlch(48.24, 72.59, 350.88°)
OKLaboklab(58.33% 0.2205 -0.0296)
OKLCHoklch(58.33% 0.222 352.3)
XYZxyz(32.1985, 16.9808, 24.8698)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42388 #23D46F
analogous
#C723D4 #D42388 #D4232F
triadic
#D42388 #88D423 #2388D4
tetradic
#D42388 #D4C723 #23D46F #232FD4
square
#D42388 #D4C723 #23D46F #232FD4
split-complementary
#D42388 #2FD423 #23D4C7
monochromatic
#6B1245 #9F1A66 #D42388 #E252A4 #EB86C0

Accessibility & contrast

On white

4.78
#D42388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#D42388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42388
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42388#FFFFFF#000000##FFFFFF
##D423881.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#E50154
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42388;
/* rgb */ color: rgb(212, 35, 136);
/* oklch */ color: oklch(58.3% 0.222 352.3);
Tailwind
colors: {
  custom: {
    50: '#e775aa',
    500: '#d42388',
    950: '#000000',
  },
}
SCSS
$custom: #d42388;
$custom-light: #e775aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d42388",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 325.763,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.22244,
    "h": 352.3
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#D42388
secondary
#7ED4A3
accent
#EE8739
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D42388

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

Preview Lab → · Contrast checker → · Palette generator →

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