#D42CA9#D42CA9

#D42CA9 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.2% C 0.233 H 341.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D42CA9
RGBrgb(212, 44, 169)
HSLhsl(315, 66%, 50%)
HSVhsv(315, 79%, 83%)
CMYKcmyk(0%, 79.2%, 20.3%, 16.9%)
CIE-LABlab(50.30, 73.36, -28.07)
CIE-LCHlch(50.30, 78.55, 339.06°)
OKLaboklab(60.25% 0.2201 -0.0757)
OKLCHoklch(60.25% 0.233 341)
XYZxyz(35.2147, 18.6667, 39.2769)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42CA9 #2CD457
analogous
#AB2CD4 #D42CA9 #D42C55
triadic
#D42CA9 #A9D42C #2CA9D4
tetradic
#D42CA9 #D4AB2C #2CD457 #2C55D4
square
#D42CA9 #D4AB2C #2CD457 #2C55D4
split-complementary
#D42CA9 #55D42C #2CD4AB
monochromatic
#6F1758 #A22181 #D42CA9 #DE5FBE #E992D2

Accessibility & contrast

On white

4.44
#D42CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D42CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42CA9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42CA9#FFFFFF#000000##000000
##D42CA91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AC
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#E13169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d42ca9;
/* rgb */ color: rgb(212, 44, 169);
/* oklch */ color: oklch(60.2% 0.233 341.0);
Tailwind
colors: {
  custom: {
    50: '#e679c3',
    500: '#d42ca9',
    950: '#000000',
  },
}
SCSS
$custom: #d42ca9;
$custom-light: #e679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d42ca9",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 315.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.2327,
    "h": 341
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#D42CA9
secondary
#88D39C
accent
#E96A3F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A12
muted
#857C81

Preview Lab

Preview with #D42CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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