#D041A6#D041A6

#D041A6 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.2% C 0.206 H 341.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D041A6
RGBrgb(208, 65, 166)
HSLhsl(318, 60%, 54%)
HSVhsv(318, 69%, 82%)
CMYKcmyk(0%, 68.8%, 20.2%, 18.4%)
CIE-LABlab(51.78, 65.51, -24.06)
CIE-LCHlch(51.78, 69.79, 339.83°)
OKLaboklab(61.15% 0.1961 -0.0646)
OKLCHoklch(61.15% 0.206 341.8)
XYZxyz(34.7867, 19.9471, 38.0871)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041A6 #41D06B
analogous
#B241D0 #D041A6 #D0415E
triadic
#D041A6 #A6D041 #41A6D0
tetradic
#D041A6 #D0B241 #41D06B #415ED0
square
#D041A6 #D0B241 #41D06B #415ED0
split-complementary
#D041A6 #5ED041 #41D0B2
monochromatic
#791E5E #AA2A84 #D041A6 #DC72BD #E8A3D4

Accessibility & contrast

On white

4.21
#D041A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D041A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041A6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041A6#FFFFFF#000000##000000
##D041A61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DA9
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#DD436E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d041a6;
/* rgb */ color: rgb(208, 65, 166);
/* oklch */ color: oklch(61.2% 0.206 341.8);
Tailwind
colors: {
  custom: {
    50: '#e281c0',
    500: '#d041a6',
    950: '#000000',
  },
}
SCSS
$custom: #d041a6;
$custom-light: #e281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d041a6",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 317.622,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.20646,
    "h": 341.8
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#D041A6
secondary
#98D5AA
accent
#E37344
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D041A6

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

Preview Lab → · Contrast checker → · Palette generator →

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