#D041AF#D041AF

#D041AF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.6% C 0.212 H 338.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D041AF
RGBrgb(208, 65, 175)
HSLhsl(314, 60%, 54%)
HSVhsv(314, 69%, 82%)
CMYKcmyk(0%, 68.8%, 15.9%, 18.4%)
CIE-LABlab(52.16, 66.75, -28.74)
CIE-LCHlch(52.16, 72.68, 336.70°)
OKLaboklab(61.56% 0.1975 -0.0778)
OKLCHoklch(61.56% 0.212 338.5)
XYZxyz(35.6413, 20.2889, 42.5882)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041AF #41D062
analogous
#A941D0 #D041AF #D04167
triadic
#D041AF #AFD041 #41AFD0
tetradic
#D041AF #D0A941 #41D062 #4167D0
square
#D041AF #D0A941 #41D062 #4167D0
split-complementary
#D041AF #67D041 #41D0A9
monochromatic
#791E64 #AA2A8C #D041AF #DC72C4 #E8A3D8

Accessibility & contrast

On white

4.15
#D041AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D041AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041AF#FFFFFF#000000##000000
##D041AF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#DB4772
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d041af;
/* rgb */ color: rgb(208, 65, 175);
/* oklch */ color: oklch(61.6% 0.212 338.5);
Tailwind
colors: {
  custom: {
    50: '#e281c7',
    500: '#d041af',
    950: '#000000',
  },
}
SCSS
$custom: #d041af;
$custom-light: #e281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d041af",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 313.846,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.21231,
    "h": 338.5
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#D041AF
secondary
#98D5A6
accent
#E36944
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D041AF

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

Preview Lab → · Contrast checker → · Palette generator →

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