#D041C2#D041C2

#D041C2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.226 H 332.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D041C2
RGBrgb(208, 65, 194)
HSLhsl(306, 60%, 54%)
HSVhsv(306, 69%, 82%)
CMYKcmyk(0%, 68.8%, 6.7%, 18.4%)
CIE-LABlab(53.05, 69.56, -38.40)
CIE-LCHlch(53.05, 79.46, 331.10°)
OKLaboklab(62.49% 0.1996 -0.1054)
OKLCHoklch(62.49% 0.226 332.2)
XYZxyz(37.6404, 21.0885, 53.1165)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041C2 #41D04F
analogous
#9641D0 #D041C2 #D0417A
triadic
#D041C2 #C2D041 #41C2D0
tetradic
#D041C2 #D09641 #41D04F #417AD0
square
#D041C2 #D09641 #41D04F #417AD0
split-complementary
#D041C2 #7AD041 #41D096
monochromatic
#791E70 #AA2A9D #D041C2 #DC72D2 #E8A3E2

Accessibility & contrast

On white

4.03
#D041C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D041C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041C2#FFFFFF#000000##000000
##D041C21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C6
Deuteranopia (green-blind)
#6D86BE
Tritanopia (blue-blind)
#D9507D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d041c2;
/* rgb */ color: rgb(208, 65, 194);
/* oklch */ color: oklch(62.5% 0.226 332.2);
Tailwind
colors: {
  custom: {
    50: '#e282d5',
    500: '#d041c2',
    950: '#000000',
  },
}
SCSS
$custom: #d041c2;
$custom-light: #e282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d041c2",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 305.874,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.22569,
    "h": 332.2
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#D041C2
secondary
#98D59E
accent
#E35444
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D041C2

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

Preview Lab → · Contrast checker → · Palette generator →

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