#D031AA#D031AA

#D031AA is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.227 H 339.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D031AA
RGBrgb(208, 49, 170)
HSLhsl(314, 63%, 50%)
HSVhsv(314, 76%, 82%)
CMYKcmyk(0%, 76.4%, 18.3%, 18.4%)
CIE-LABlab(50.11, 71.25, -29.00)
CIE-LCHlch(50.11, 76.92, 337.85°)
OKLaboklab(60% 0.2125 -0.0784)
OKLCHoklch(60% 0.227 339.7)
XYZxyz(34.3674, 18.5122, 39.7857)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031AA #31D057
analogous
#A731D0 #D031AA #D0315A
triadic
#D031AA #AAD031 #31AAD0
tetradic
#D031AA #D0A731 #31D057 #315AD0
square
#D031AA #D0A731 #31D057 #315AD0
split-complementary
#D031AA #5AD031 #31D0A7
monochromatic
#6E1959 #9F2482 #D031AA #DB63BF #E795D3

Accessibility & contrast

On white

4.47
#D031AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D031AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031AA#FFFFFF#000000##000000
##D031AA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#7180A6
Tritanopia (blue-blind)
#DC376B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d031aa;
/* rgb */ color: rgb(208, 49, 170);
/* oklch */ color: oklch(60.0% 0.227 339.7);
Tailwind
colors: {
  custom: {
    50: '#e37ac3',
    500: '#d031aa',
    950: '#000000',
  },
}
SCSS
$custom: #d031aa;
$custom-light: #e37ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#d031aa",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 314.34,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.2265,
    "h": 339.7
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#D031AA
secondary
#8BD29C
accent
#E66942
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D031AA

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

Preview Lab → · Contrast checker → · Palette generator →

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