#D041A7#D041A7

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

Color values

HEX#D041A7
RGBrgb(208, 65, 167)
HSLhsl(317, 60%, 54%)
HSVhsv(317, 69%, 82%)
CMYKcmyk(0%, 68.8%, 19.7%, 18.4%)
CIE-LABlab(51.82, 65.64, -24.59)
CIE-LCHlch(51.82, 70.10, 339.47°)
OKLaboklab(61.2% 0.1963 -0.066)
OKLCHoklch(61.2% 0.207 341.4)
XYZxyz(34.8788, 19.9839, 38.5721)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041A7 #41D06A
analogous
#B241D0 #D041A7 #D0415F
triadic
#D041A7 #A7D041 #41A7D0
tetradic
#D041A7 #D0B241 #41D06A #415FD0
square
#D041A7 #D0B241 #41D06A #415FD0
split-complementary
#D041A7 #5FD041 #41D0B2
monochromatic
#791E5F #AA2A85 #D041A7 #DC72BE #E8A3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D041A7#FFFFFF#000000##000000
##D041A71.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)
#4C6DAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#DC436E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d041a7;
/* rgb */ color: rgb(208, 65, 167);
/* oklch */ color: oklch(61.2% 0.207 341.4);
Tailwind
colors: {
  custom: {
    50: '#e281c1',
    500: '#d041a7',
    950: '#000000',
  },
}
SCSS
$custom: #d041a7;
$custom-light: #e281c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d041a7",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 317.203,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.2071,
    "h": 341.4
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D041A7

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

Preview Lab → · Contrast checker → · Palette generator →

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