#D031B3#D031B3

#D031B3 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.4% C 0.232 H 336.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D031B3
RGBrgb(208, 49, 179)
HSLhsl(311, 63%, 50%)
HSVhsv(311, 76%, 82%)
CMYKcmyk(0%, 76.4%, 13.9%, 18.4%)
CIE-LABlab(50.53, 72.47, -33.63)
CIE-LCHlch(50.53, 79.89, 335.10°)
OKLaboklab(60.44% 0.2134 -0.0916)
OKLCHoklch(60.44% 0.232 336.8)
XYZxyz(35.2481, 18.8645, 44.4239)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031B3 #31D04E
analogous
#9D31D0 #D031B3 #D03164
triadic
#D031B3 #B3D031 #31B3D0
tetradic
#D031B3 #D09D31 #31D04E #3164D0
square
#D031B3 #D09D31 #31D04E #3164D0
split-complementary
#D031B3 #64D031 #31D09D
monochromatic
#6E195E #9F2489 #D031B3 #DB63C5 #E795D8

Accessibility & contrast

On white

4.40
#D031B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D031B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031B3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031B3#FFFFFF#000000##000000
##D031B31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#DB3C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d031b3;
/* rgb */ color: rgb(208, 49, 179);
/* oklch */ color: oklch(60.4% 0.232 336.8);
Tailwind
colors: {
  custom: {
    50: '#e37aca',
    500: '#d031b3',
    950: '#000000',
  },
}
SCSS
$custom: #d031b3;
$custom-light: #e37aca;
$custom-dark: #000000;
JSON
{
  "hex": "#d031b3",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 310.943,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.23228,
    "h": 336.8
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#D031B3
secondary
#8BD298
accent
#E66042
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D031B3

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

Preview Lab → · Contrast checker → · Palette generator →

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