#D031B0#D031B0

#D031B0 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.3% C 0.230 H 337.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D031B0
RGBrgb(208, 49, 176)
HSLhsl(312, 63%, 50%)
HSVhsv(312, 76%, 82%)
CMYKcmyk(0%, 76.4%, 15.4%, 18.4%)
CIE-LABlab(50.39, 72.05, -32.10)
CIE-LCHlch(50.39, 78.88, 335.99°)
OKLaboklab(60.29% 0.2132 -0.0872)
OKLCHoklch(60.29% 0.23 337.7)
XYZxyz(34.9480, 18.7445, 42.8434)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031B0 #31D051
analogous
#A031D0 #D031B0 #D03161
triadic
#D031B0 #B0D031 #31B0D0
tetradic
#D031B0 #D0A031 #31D051 #3161D0
square
#D031B0 #D0A031 #31D051 #3161D0
split-complementary
#D031B0 #61D031 #31D0A0
monochromatic
#6E195D #9F2487 #D031B0 #DB63C3 #E795D6

Accessibility & contrast

On white

4.42
#D031B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D031B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031B0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031B0#FFFFFF#000000##000000
##D031B01.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3868B3
Deuteranopia (green-blind)
#6F81AC
Tritanopia (blue-blind)
#DB3B6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d031b0;
/* rgb */ color: rgb(208, 49, 176);
/* oklch */ color: oklch(60.3% 0.230 337.7);
Tailwind
colors: {
  custom: {
    50: '#e37ac8',
    500: '#d031b0',
    950: '#000000',
  },
}
SCSS
$custom: #d031b0;
$custom-light: #e37ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#d031b0",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 312.075,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.23032,
    "h": 337.7
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#D031B0
secondary
#8BD299
accent
#E66342
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D031B0

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

Preview Lab → · Contrast checker → · Palette generator →

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