#D041B1#D041B1

#D041B1 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.214 H 337.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D041B1
RGBrgb(208, 65, 177)
HSLhsl(313, 60%, 54%)
HSVhsv(313, 69%, 82%)
CMYKcmyk(0%, 68.8%, 14.9%, 18.4%)
CIE-LABlab(52.25, 67.04, -29.77)
CIE-LCHlch(52.25, 73.35, 336.05°)
OKLaboklab(61.65% 0.1978 -0.0807)
OKLCHoklch(61.65% 0.214 337.8)
XYZxyz(35.8392, 20.3681, 43.6304)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041B1 #41D060
analogous
#A741D0 #D041B1 #D04169
triadic
#D041B1 #B1D041 #41B1D0
tetradic
#D041B1 #D0A741 #41D060 #4169D0
square
#D041B1 #D0A741 #41D060 #4169D0
split-complementary
#D041B1 #69D041 #41D0A7
monochromatic
#791E65 #AA2A8E #D041B1 #DC72C5 #E8A3D9

Accessibility & contrast

On white

4.14
#D041B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D041B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041B1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041B1#FFFFFF#000000##000000
##D041B11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#DB4874
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d041b1;
/* rgb */ color: rgb(208, 65, 177);
/* oklch */ color: oklch(61.7% 0.214 337.8);
Tailwind
colors: {
  custom: {
    50: '#e281c8',
    500: '#d041b1',
    950: '#000000',
  },
}
SCSS
$custom: #d041b1;
$custom-light: #e281c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d041b1",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 313.007,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.21366,
    "h": 337.8
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#D041B1
secondary
#98D5A5
accent
#E36744
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D041B1

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

Preview Lab → · Contrast checker → · Palette generator →

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