#D031A6#D031A6

#D031A6 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.8% C 0.224 H 341.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D031A6
RGBrgb(208, 49, 166)
HSLhsl(316, 63%, 50%)
HSVhsv(316, 76%, 82%)
CMYKcmyk(0%, 76.4%, 20.2%, 18.4%)
CIE-LABlab(49.93, 70.72, -26.91)
CIE-LCHlch(49.93, 75.67, 339.17°)
OKLaboklab(59.82% 0.212 -0.0725)
OKLCHoklch(59.82% 0.224 341.1)
XYZxyz(33.9948, 18.3632, 37.8231)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031A6 #31D05B
analogous
#AA31D0 #D031A6 #D03156
triadic
#D031A6 #A6D031 #31A6D0
tetradic
#D031A6 #D0AA31 #31D05B #3156D0
square
#D031A6 #D0AA31 #31D05B #3156D0
split-complementary
#D031A6 #56D031 #31D0AA
monochromatic
#6E1957 #9F247F #D031A6 #DB63BC #E795D1

Accessibility & contrast

On white

4.49
#D031A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#D031A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031A6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031A6#FFFFFF#000000##000000
##D031A61.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#DD3569
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d031a6;
/* rgb */ color: rgb(208, 49, 166);
/* oklch */ color: oklch(59.8% 0.224 341.1);
Tailwind
colors: {
  custom: {
    50: '#e37ac0',
    500: '#d031a6',
    950: '#000000',
  },
}
SCSS
$custom: #d031a6;
$custom-light: #e37ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#d031a6",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 315.849,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.22404,
    "h": 341.1
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#D031A6
secondary
#8BD29E
accent
#E66D42
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D031A6

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

Preview Lab → · Contrast checker → · Palette generator →

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