#D041A2#D041A2

#D041A2 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.204 H 343.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D041A2
RGBrgb(208, 65, 162)
HSLhsl(319, 60%, 54%)
HSVhsv(319, 69%, 82%)
CMYKcmyk(0%, 68.8%, 22.1%, 18.4%)
CIE-LABlab(51.61, 64.97, -21.96)
CIE-LCHlch(51.61, 68.58, 341.33°)
OKLaboklab(60.98% 0.1954 -0.0587)
OKLCHoklch(60.98% 0.204 343.3)
XYZxyz(34.4255, 19.8026, 36.1847)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041A2 #41D06F
analogous
#B741D0 #D041A2 #D0415A
triadic
#D041A2 #A2D041 #41A2D0
tetradic
#D041A2 #D0B741 #41D06F #415AD0
square
#D041A2 #D0B741 #41D06F #415AD0
split-complementary
#D041A2 #5AD041 #41D0B7
monochromatic
#791E5C #AA2A81 #D041A2 #DC72BA #E8A3D2

Accessibility & contrast

On white

4.23
#D041A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D041A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041A2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041A2#FFFFFF#000000##000000
##D041A21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#7A849F
Tritanopia (blue-blind)
#DD416C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d041a2;
/* rgb */ color: rgb(208, 65, 162);
/* oklch */ color: oklch(61.0% 0.204 343.3);
Tailwind
colors: {
  custom: {
    50: '#e281bd',
    500: '#d041a2',
    950: '#000000',
  },
}
SCSS
$custom: #d041a2;
$custom-light: #e281bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d041a2",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 319.301,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.20398,
    "h": 343.3
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#D041A2
secondary
#98D5AB
accent
#E37844
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D041A2

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

Preview Lab → · Contrast checker → · Palette generator →

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