#D337AD#D337AD

#D337AD is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.224 H 339.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D337AD
RGBrgb(211, 55, 173)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 73.9%, 18%, 17.3%)
CIE-LABlab(51.38, 70.56, -28.74)
CIE-LCHlch(51.38, 76.19, 337.83°)
OKLaboklab(61.06% 0.2102 -0.0777)
OKLCHoklch(61.06% 0.224 339.7)
XYZxyz(35.7740, 19.6019, 41.4266)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337AD #37D35D
analogous
#AB37D3 #D337AD #D3375F
triadic
#D337AD #ADD337 #37ADD3
tetradic
#D337AD #D3AB37 #37D35D #375FD3
square
#D337AD #D3AB37 #37D35D #375FD3
split-complementary
#D337AD #5FD337 #37D3AB
monochromatic
#761A5F #A82588 #D337AD #DE69C2 #E99BD6

Accessibility & contrast

On white

4.27
#D337AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D337AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337AD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337AD#FFFFFF#000000##000000
##D337AD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#DF3D6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d337ad;
/* rgb */ color: rgb(211, 55, 173);
/* oklch */ color: oklch(61.1% 0.224 339.7);
Tailwind
colors: {
  custom: {
    50: '#e57dc5',
    500: '#d337ad',
    950: '#000000',
  },
}
SCSS
$custom: #d337ad;
$custom-light: #e57dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d337ad",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 314.615,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.22412,
    "h": 339.7
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#D337AD
secondary
#91D5A1
accent
#E76941
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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