#D331A0#D331A0

#D331A0 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.0% C 0.222 H 344.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D331A0
RGBrgb(211, 49, 160)
HSLhsl(319, 65%, 51%)
HSVhsv(319, 77%, 83%)
CMYKcmyk(0%, 76.8%, 24.2%, 17.3%)
CIE-LABlab(50.20, 70.66, -22.91)
CIE-LCHlch(50.20, 74.28, 342.04°)
OKLaboklab(60.02% 0.2137 -0.0612)
OKLCHoklch(60.02% 0.222 344)
XYZxyz(34.3088, 18.5873, 35.0318)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D331A0 #31D364
analogous
#B531D3 #D331A0 #D3314F
triadic
#D331A0 #A0D331 #31A0D3
tetradic
#D331A0 #D3B531 #31D364 #314FD3
square
#D331A0 #D3B531 #31D364 #314FD3
split-complementary
#D331A0 #4FD331 #31D3B5
monochromatic
#711855 #A4237B #D331A0 #DE63B7 #E996CF

Accessibility & contrast

On white

4.45
#D331A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D331A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D331A0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D331A0#FFFFFF#000000##000000
##D331A01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4566A3
Deuteranopia (green-blind)
#77819C
Tritanopia (blue-blind)
#E13065
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d331a0;
/* rgb */ color: rgb(211, 49, 160);
/* oklch */ color: oklch(60.0% 0.222 344.0);
Tailwind
colors: {
  custom: {
    50: '#e57abc',
    500: '#d331a0',
    950: '#000000',
  },
}
SCSS
$custom: #d331a0;
$custom-light: #e57abc;
$custom-dark: #000000;
JSON
{
  "hex": "#d331a0",
  "rgb": {
    "r": 211,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 318.889,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.22229,
    "h": 344
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#D331A0
secondary
#8CD4A3
accent
#E87540
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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