#D337AA#D337AA

#D337AA is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.9% C 0.222 H 340.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D337AA
RGBrgb(211, 55, 170)
HSLhsl(316, 64%, 52%)
HSVhsv(316, 74%, 83%)
CMYKcmyk(0%, 73.9%, 19.4%, 17.3%)
CIE-LABlab(51.25, 70.16, -27.19)
CIE-LCHlch(51.25, 75.24, 338.82°)
OKLaboklab(60.92% 0.2098 -0.0733)
OKLCHoklch(60.92% 0.222 340.8)
XYZxyz(35.4869, 19.4871, 39.9149)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337AA #37D360
analogous
#AE37D3 #D337AA #D3375C
triadic
#D337AA #AAD337 #37AAD3
tetradic
#D337AA #D3AE37 #37D360 #375CD3
square
#D337AA #D3AE37 #37D360 #375CD3
split-complementary
#D337AA #5CD337 #37D3AE
monochromatic
#761A5E #A82585 #D337AA #DE69BF #E99BD5

Accessibility & contrast

On white

4.29
#D337AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D337AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337AA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337AA#FFFFFF#000000##000000
##D337AA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#E03B6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d337aa;
/* rgb */ color: rgb(211, 55, 170);
/* oklch */ color: oklch(60.9% 0.222 340.8);
Tailwind
colors: {
  custom: {
    50: '#e57dc3',
    500: '#d337aa',
    950: '#000000',
  },
}
SCSS
$custom: #d337aa;
$custom-light: #e57dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d337aa",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 315.769,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.22225,
    "h": 340.8
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#D337AA
secondary
#91D5A3
accent
#E76D41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D337AA

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

Preview Lab → · Contrast checker → · Palette generator →

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