#D041B7#D041B7

#D041B7 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.9% C 0.218 H 335.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D041B7
RGBrgb(208, 65, 183)
HSLhsl(310, 60%, 54%)
HSVhsv(310, 69%, 82%)
CMYKcmyk(0%, 68.8%, 12%, 18.4%)
CIE-LABlab(52.52, 67.91, -32.85)
CIE-LCHlch(52.52, 75.44, 334.19°)
OKLaboklab(61.94% 0.1986 -0.0895)
OKLCHoklch(61.94% 0.218 335.7)
XYZxyz(36.4504, 20.6125, 46.8494)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041B7 #41D05A
analogous
#A241D0 #D041B7 #D0416F
triadic
#D041B7 #B7D041 #41B7D0
tetradic
#D041B7 #D0A241 #41D05A #416FD0
square
#D041B7 #D0A241 #41D05A #416FD0
split-complementary
#D041B7 #6FD041 #41D0A2
monochromatic
#791E69 #AA2A93 #D041B7 #DC72CA #E8A3DC

Accessibility & contrast

On white

4.10
#D041B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D041B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041B7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041B7#FFFFFF#000000##000000
##D041B71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#DA4B77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d041b7;
/* rgb */ color: rgb(208, 65, 183);
/* oklch */ color: oklch(61.9% 0.218 335.7);
Tailwind
colors: {
  custom: {
    50: '#e281cd',
    500: '#d041b7',
    950: '#000000',
  },
}
SCSS
$custom: #d041b7;
$custom-light: #e281cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d041b7",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 310.49,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.2178,
    "h": 335.7
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#D041B7
secondary
#98D5A2
accent
#E36044
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D041B7

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

Preview Lab → · Contrast checker → · Palette generator →

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