#D331B6#D331B6

#D331B6 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 61.1% C 0.236 H 336.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D331B6
RGBrgb(211, 49, 182)
HSLhsl(311, 65%, 51%)
HSVhsv(311, 77%, 83%)
CMYKcmyk(0%, 76.8%, 13.7%, 17.3%)
CIE-LABlab(51.18, 73.54, -34.33)
CIE-LCHlch(51.18, 81.16, 334.98°)
OKLaboklab(61.05% 0.2165 -0.0936)
OKLCHoklch(61.05% 0.236 336.6)
XYZxyz(36.4065, 19.4263, 46.0792)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D331B6 #31D34E
analogous
#9F31D3 #D331B6 #D33165
triadic
#D331B6 #B6D331 #31B6D3
tetradic
#D331B6 #D39F31 #31D34E #3165D3
square
#D331B6 #D39F31 #31D34E #3165D3
split-complementary
#D331B6 #65D331 #31D39F
monochromatic
#711861 #A4238D #D331B6 #DE63C8 #E996DA

Accessibility & contrast

On white

4.30
#D331B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D331B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D331B6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D331B6#FFFFFF#000000##000000
##D331B61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#356ABA
Deuteranopia (green-blind)
#6F83B2
Tritanopia (blue-blind)
#DE3D71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d331b6;
/* rgb */ color: rgb(211, 49, 182);
/* oklch */ color: oklch(61.1% 0.236 336.6);
Tailwind
colors: {
  custom: {
    50: '#e57bcc',
    500: '#d331b6',
    950: '#000000',
  },
}
SCSS
$custom: #d331b6;
$custom-light: #e57bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#d331b6",
  "rgb": {
    "r": 211,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 310.741,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.23583,
    "h": 336.6
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#D331B6
secondary
#8CD499
accent
#E85E40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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