#D031B5#D031B5

#D031B5 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.5% C 0.234 H 336.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D031B5
RGBrgb(208, 49, 181)
HSLhsl(310, 63%, 50%)
HSVhsv(310, 76%, 82%)
CMYKcmyk(0%, 76.4%, 13%, 18.4%)
CIE-LABlab(50.62, 72.75, -34.65)
CIE-LCHlch(50.62, 80.58, 334.53°)
OKLaboklab(60.54% 0.2136 -0.0945)
OKLCHoklch(60.54% 0.234 336.1)
XYZxyz(35.4518, 18.9460, 45.4969)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031B5 #31D04C
analogous
#9C31D0 #D031B5 #D03165
triadic
#D031B5 #B5D031 #31B5D0
tetradic
#D031B5 #D09C31 #31D04C #3165D0
square
#D031B5 #D09C31 #31D04C #3165D0
split-complementary
#D031B5 #65D031 #31D09C
monochromatic
#6E195F #9F248B #D031B5 #DB63C7 #E795D9

Accessibility & contrast

On white

4.39
#D031B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D031B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031B5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031B5#FFFFFF#000000##000000
##D031B51.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#DB3D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d031b5;
/* rgb */ color: rgb(208, 49, 181);
/* oklch */ color: oklch(60.5% 0.234 336.1);
Tailwind
colors: {
  custom: {
    50: '#e37acb',
    500: '#d031b5',
    950: '#000000',
  },
}
SCSS
$custom: #d031b5;
$custom-light: #e37acb;
$custom-dark: #000000;
JSON
{
  "hex": "#d031b5",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 310.189,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.23359,
    "h": 336.1
  },
  "luminance": 0.18943
}

Semantic roles & 50–950 ramp

primary
#D031B5
secondary
#8BD297
accent
#E65E42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D031B5

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

Preview Lab → · Contrast checker → · Palette generator →

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