#D041A8#D041A8

#D041A8 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.208 H 341.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D041A8
RGBrgb(208, 65, 168)
HSLhsl(317, 60%, 54%)
HSVhsv(317, 69%, 82%)
CMYKcmyk(0%, 68.8%, 19.2%, 18.4%)
CIE-LABlab(51.86, 65.78, -25.11)
CIE-LCHlch(51.86, 70.41, 339.11°)
OKLaboklab(61.24% 0.1965 -0.0675)
OKLCHoklch(61.24% 0.208 341)
XYZxyz(34.9716, 20.0210, 39.0608)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041A8 #41D069
analogous
#B041D0 #D041A8 #D04160
triadic
#D041A8 #A8D041 #41A8D0
tetradic
#D041A8 #D0B041 #41D069 #4160D0
square
#D041A8 #D0B041 #41D069 #4160D0
split-complementary
#D041A8 #60D041 #41D0B0
monochromatic
#791E5F #AA2A86 #D041A8 #DC72BE #E8A3D5

Accessibility & contrast

On white

4.20
#D041A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D041A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041A8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041A8#FFFFFF#000000##000000
##D041A81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#DC446F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d041a8;
/* rgb */ color: rgb(208, 65, 168);
/* oklch */ color: oklch(61.2% 0.208 341.0);
Tailwind
colors: {
  custom: {
    50: '#e281c2',
    500: '#d041a8',
    950: '#000000',
  },
}
SCSS
$custom: #d041a8;
$custom-light: #e281c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d041a8",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 316.783,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.20773,
    "h": 341
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#D041A8
secondary
#98D5A9
accent
#E37144
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D041A8

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

Preview Lab → · Contrast checker → · Palette generator →

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