#D042AA#D042AA

#D042AA is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.208 H 340.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D042AA
RGBrgb(208, 66, 170)
HSLhsl(316, 60%, 54%)
HSVhsv(316, 68%, 82%)
CMYKcmyk(0%, 68.3%, 18.3%, 18.4%)
CIE-LABlab(52.08, 65.69, -25.95)
CIE-LCHlch(52.08, 70.63, 338.44°)
OKLaboklab(61.43% 0.1957 -0.0699)
OKLCHoklch(61.43% 0.208 340.3)
XYZxyz(35.2173, 20.2119, 40.0690)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D042AA #42D068
analogous
#AF42D0 #D042AA #D04263
triadic
#D042AA #AAD042 #42AAD0
tetradic
#D042AA #D0AF42 #42D068 #4263D0
square
#D042AA #D0AF42 #42D068 #4263D0
split-complementary
#D042AA #63D042 #42D0AF
monochromatic
#791E61 #AA2A88 #D042AA #DC73C0 #E8A4D6

Accessibility & contrast

On white

4.17
#D042AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D042AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D042AA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D042AA#FFFFFF#000000##000000
##D042AA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAD
Deuteranopia (green-blind)
#7884A7
Tritanopia (blue-blind)
#DC4670
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d042aa;
/* rgb */ color: rgb(208, 66, 170);
/* oklch */ color: oklch(61.4% 0.208 340.3);
Tailwind
colors: {
  custom: {
    50: '#e281c3',
    500: '#d042aa',
    950: '#000000',
  },
}
SCSS
$custom: #d042aa;
$custom-light: #e281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d042aa",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 316.056,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.20779,
    "h": 340.3
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#D042AA
secondary
#99D5A9
accent
#E36F44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D042AA

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

Preview Lab → · Contrast checker → · Palette generator →

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