#D031B6#D031B6

#D031B6 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.234 H 335.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D031B6
RGBrgb(208, 49, 182)
HSLhsl(310, 63%, 50%)
HSVhsv(310, 76%, 82%)
CMYKcmyk(0%, 76.4%, 12.5%, 18.4%)
CIE-LABlab(50.67, 72.89, -35.16)
CIE-LCHlch(50.67, 80.92, 334.25°)
OKLaboklab(60.59% 0.2137 -0.096)
OKLCHoklch(60.59% 0.234 335.8)
XYZxyz(35.5548, 18.9872, 46.0393)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031B6 #31D04B
analogous
#9A31D0 #D031B6 #D03167
triadic
#D031B6 #B6D031 #31B6D0
tetradic
#D031B6 #D09A31 #31D04B #3167D0
square
#D031B6 #D09A31 #31D04B #3167D0
split-complementary
#D031B6 #67D031 #31D09A
monochromatic
#6E1960 #9F248B #D031B6 #DB63C8 #E795D9

Accessibility & contrast

On white

4.38
#D031B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D031B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031B6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031B6#FFFFFF#000000##000000
##D031B61.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#DB3E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d031b6;
/* rgb */ color: rgb(208, 49, 182);
/* oklch */ color: oklch(60.6% 0.234 335.8);
Tailwind
colors: {
  custom: {
    50: '#e37acc',
    500: '#d031b6',
    950: '#000000',
  },
}
SCSS
$custom: #d031b6;
$custom-light: #e37acc;
$custom-dark: #000000;
JSON
{
  "hex": "#d031b6",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 309.811,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.23425,
    "h": 335.8
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#D031B6
secondary
#8BD297
accent
#E65D42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D031B6

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

Preview Lab → · Contrast checker → · Palette generator →

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