#D042AD#D042AD

#D042AD is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.6% C 0.210 H 339.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D042AD
RGBrgb(208, 66, 173)
HSLhsl(315, 60%, 54%)
HSVhsv(315, 68%, 82%)
CMYKcmyk(0%, 68.3%, 16.8%, 18.4%)
CIE-LABlab(52.20, 66.11, -27.51)
CIE-LCHlch(52.20, 71.60, 337.41°)
OKLaboklab(61.56% 0.1962 -0.0743)
OKLCHoklch(61.56% 0.21 339.3)
XYZxyz(35.5043, 20.3267, 41.5807)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D042AD #42D065
analogous
#AC42D0 #D042AD #D04266
triadic
#D042AD #ADD042 #42ADD0
tetradic
#D042AD #D0AC42 #42D065 #4266D0
square
#D042AD #D0AC42 #42D065 #4266D0
split-complementary
#D042AD #66D042 #42D0AC
monochromatic
#791E63 #AA2A8B #D042AD #DC73C2 #E8A4D8

Accessibility & contrast

On white

4.15
#D042AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D042AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D042AD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D042AD#FFFFFF#000000##000000
##D042AD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EB0
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#DC4772
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d042ad;
/* rgb */ color: rgb(208, 66, 173);
/* oklch */ color: oklch(61.6% 0.210 339.3);
Tailwind
colors: {
  custom: {
    50: '#e281c5',
    500: '#d042ad',
    950: '#000000',
  },
}
SCSS
$custom: #d042ad;
$custom-light: #e281c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d042ad",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 314.789,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.20976,
    "h": 339.3
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#D042AD
secondary
#99D5A8
accent
#E36C44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D042AD

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

Preview Lab → · Contrast checker → · Palette generator →

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