#D031A3#D031A3

#D031A3 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.222 H 342.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D031A3
RGBrgb(208, 49, 163)
HSLhsl(317, 63%, 50%)
HSVhsv(317, 76%, 82%)
CMYKcmyk(0%, 76.4%, 21.6%, 18.4%)
CIE-LABlab(49.80, 70.33, -25.34)
CIE-LCHlch(49.80, 74.76, 340.19°)
OKLaboklab(59.68% 0.2116 -0.0681)
OKLCHoklch(59.68% 0.222 342.2)
XYZxyz(33.7228, 18.2544, 36.3907)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031A3 #31D05E
analogous
#AD31D0 #D031A3 #D03153
triadic
#D031A3 #A3D031 #31A3D0
tetradic
#D031A3 #D0AD31 #31D05E #3153D0
square
#D031A3 #D0AD31 #31D05E #3153D0
split-complementary
#D031A3 #53D031 #31D0AD
monochromatic
#6E1956 #9F247D #D031A3 #DB63B9 #E795D0

Accessibility & contrast

On white

4.52
#D031A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D031A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031A3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031A3#FFFFFF#000000##000000
##D031A31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#74809F
Tritanopia (blue-blind)
#DD3367
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d031a3;
/* rgb */ color: rgb(208, 49, 163);
/* oklch */ color: oklch(59.7% 0.222 342.2);
Tailwind
colors: {
  custom: {
    50: '#e37abe',
    500: '#d031a3',
    950: '#000000',
  },
}
SCSS
$custom: #d031a3;
$custom-light: #e37abe;
$custom-dark: #000000;
JSON
{
  "hex": "#d031a3",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 316.981,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.22223,
    "h": 342.2
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#D031A3
secondary
#8BD29F
accent
#E67042
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D031A3

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

Preview Lab → · Contrast checker → · Palette generator →

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