#D42CAD#D42CAD

#D42CAD is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.4% C 0.235 H 339.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D42CAD
RGBrgb(212, 44, 173)
HSLhsl(314, 66%, 50%)
HSVhsv(314, 79%, 83%)
CMYKcmyk(0%, 79.2%, 18.4%, 16.9%)
CIE-LABlab(50.48, 73.87, -30.15)
CIE-LCHlch(50.48, 79.79, 337.80°)
OKLaboklab(60.44% 0.2205 -0.0816)
OKLCHoklch(60.44% 0.235 339.7)
XYZxyz(35.5959, 18.8192, 41.2849)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42CAD #2CD453
analogous
#A72CD4 #D42CAD #D42C59
triadic
#D42CAD #ADD42C #2CADD4
tetradic
#D42CAD #D4A72C #2CD453 #2C59D4
square
#D42CAD #D4A72C #2CD453 #2C59D4
split-complementary
#D42CAD #59D42C #2CD4A7
monochromatic
#6F175A #A22184 #D42CAD #DE5FC1 #E992D5

Accessibility & contrast

On white

4.41
#D42CAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D42CAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42CAD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42CAD#FFFFFF#000000##000000
##D42CAD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#E1336B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d42cad;
/* rgb */ color: rgb(212, 44, 173);
/* oklch */ color: oklch(60.4% 0.235 339.7);
Tailwind
colors: {
  custom: {
    50: '#e679c5',
    500: '#d42cad',
    950: '#000000',
  },
}
SCSS
$custom: #d42cad;
$custom-light: #e679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d42cad",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 313.929,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.23513,
    "h": 339.7
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#D42CAD
secondary
#88D39A
accent
#E9663F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D42CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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