#D041B2#D041B2

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

Color values

HEX#D041B2
RGBrgb(208, 65, 178)
HSLhsl(313, 60%, 54%)
HSVhsv(313, 69%, 82%)
CMYKcmyk(0%, 68.8%, 14.4%, 18.4%)
CIE-LABlab(52.30, 67.18, -30.29)
CIE-LCHlch(52.30, 73.69, 335.73°)
OKLaboklab(61.7% 0.198 -0.0822)
OKLCHoklch(61.7% 0.214 337.5)
XYZxyz(35.9393, 20.4081, 44.1572)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041B2 #41D05F
analogous
#A641D0 #D041B2 #D0416A
triadic
#D041B2 #B2D041 #41B2D0
tetradic
#D041B2 #D0A641 #41D05F #416AD0
square
#D041B2 #D0A641 #41D05F #416AD0
split-complementary
#D041B2 #6AD041 #41D0A6
monochromatic
#791E66 #AA2A8F #D041B2 #DC72C6 #E8A3DA

Accessibility & contrast

On white

4.13
#D041B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D041B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041B2#FFFFFF#000000##000000
##D041B21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#DB4874
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d041b2;
/* rgb */ color: rgb(208, 65, 178);
/* oklch */ color: oklch(61.7% 0.214 337.5);
Tailwind
colors: {
  custom: {
    50: '#e281c9',
    500: '#d041b2',
    950: '#000000',
  },
}
SCSS
$custom: #d041b2;
$custom-light: #e281c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d041b2",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 312.587,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.21435,
    "h": 337.5
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D041B2

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

Preview Lab → · Contrast checker → · Palette generator →

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