#D42AAE#D42AAE

#D42AAE is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.4% C 0.237 H 339.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D42AAE
RGBrgb(212, 42, 174)
HSLhsl(313, 67%, 50%)
HSVhsv(313, 80%, 83%)
CMYKcmyk(0%, 80.2%, 17.9%, 16.9%)
CIE-LABlab(50.35, 74.50, -30.93)
CIE-LCHlch(50.35, 80.66, 337.45°)
OKLaboklab(60.36% 0.2221 -0.0838)
OKLCHoklch(60.36% 0.237 339.3)
XYZxyz(35.6203, 18.7126, 41.7722)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42AAE #2AD450
analogous
#A52AD4 #D42AAE #D42A59
triadic
#D42AAE #AED42A #2AAED4
tetradic
#D42AAE #D4A52A #2AD450 #2A59D4
square
#D42AAE #D4A52A #2AD450 #2A59D4
split-complementary
#D42AAE #59D42A #2AD4A5
monochromatic
#6E165A #A12084 #D42AAE #DF5CC2 #E98FD5

Accessibility & contrast

On white

4.43
#D42AAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D42AAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42AAE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42AAE#FFFFFF#000000##000000
##D42AAE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#7181AA
Tritanopia (blue-blind)
#E0326B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d42aae;
/* rgb */ color: rgb(212, 42, 174);
/* oklch */ color: oklch(60.4% 0.237 339.3);
Tailwind
colors: {
  custom: {
    50: '#e678c6',
    500: '#d42aae',
    950: '#000000',
  },
}
SCSS
$custom: #d42aae;
$custom-light: #e678c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d42aae",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 313.412,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.23741,
    "h": 339.3
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#D42AAE
secondary
#86D398
accent
#EA643E
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D42AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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