#D337B6#D337B6

#D337B6 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.5% C 0.230 H 336.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D337B6
RGBrgb(211, 55, 182)
HSLhsl(311, 64%, 52%)
HSVhsv(311, 74%, 83%)
CMYKcmyk(0%, 73.9%, 13.7%, 17.3%)
CIE-LABlab(51.79, 71.79, -33.37)
CIE-LCHlch(51.79, 79.17, 335.07°)
OKLaboklab(61.49% 0.2113 -0.0908)
OKLCHoklch(61.49% 0.23 336.7)
XYZxyz(36.6743, 19.9621, 46.1685)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337B6 #37D354
analogous
#A237D3 #D337B6 #D33768
triadic
#D337B6 #B6D337 #37B6D3
tetradic
#D337B6 #D3A237 #37D354 #3768D3
square
#D337B6 #D3A237 #37D354 #3768D3
split-complementary
#D337B6 #68D337 #37D3A2
monochromatic
#761A65 #A82590 #D337B6 #DE69C8 #E99BDB

Accessibility & contrast

On white

4.21
#D337B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D337B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337B6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337B6#FFFFFF#000000##000000
##D337B61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB9
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#DE4173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d337b6;
/* rgb */ color: rgb(211, 55, 182);
/* oklch */ color: oklch(61.5% 0.230 336.7);
Tailwind
colors: {
  custom: {
    50: '#e57dcc',
    500: '#d337b6',
    950: '#000000',
  },
}
SCSS
$custom: #d337b6;
$custom-light: #e57dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#d337b6",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 311.154,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.22997,
    "h": 336.7
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#D337B6
secondary
#91D59E
accent
#E76041
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D337B6

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

Preview Lab → · Contrast checker → · Palette generator →

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