#D041A5#D041A5

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

Color values

HEX#D041A5
RGBrgb(208, 65, 165)
HSLhsl(318, 60%, 54%)
HSVhsv(318, 69%, 82%)
CMYKcmyk(0%, 68.8%, 20.7%, 18.4%)
CIE-LABlab(51.74, 65.37, -23.54)
CIE-LCHlch(51.74, 69.48, 340.20°)
OKLaboklab(61.11% 0.1959 -0.0631)
OKLCHoklch(61.11% 0.206 342.1)
XYZxyz(34.6953, 19.9105, 37.6059)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041A5 #41D06C
analogous
#B341D0 #D041A5 #D0415D
triadic
#D041A5 #A5D041 #41A5D0
tetradic
#D041A5 #D0B341 #41D06C #415DD0
square
#D041A5 #D0B341 #41D06C #415DD0
split-complementary
#D041A5 #5DD041 #41D0B3
monochromatic
#791E5D #AA2A83 #D041A5 #DC72BC #E8A3D3

Accessibility & contrast

On white

4.22
#D041A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D041A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041A5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041A5#FFFFFF#000000##000000
##D041A51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#DD426D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d041a5;
/* rgb */ color: rgb(208, 65, 165);
/* oklch */ color: oklch(61.1% 0.206 342.1);
Tailwind
colors: {
  custom: {
    50: '#e281c0',
    500: '#d041a5',
    950: '#000000',
  },
}
SCSS
$custom: #d041a5;
$custom-light: #e281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d041a5",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 318.042,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.20583,
    "h": 342.1
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D041A5

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

Preview Lab → · Contrast checker → · Palette generator →

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