#D337AC#D337AC

#D337AC is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.0% C 0.223 H 340.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D337AC
RGBrgb(211, 55, 172)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 73.9%, 18.5%, 17.3%)
CIE-LABlab(51.34, 70.42, -28.22)
CIE-LCHlch(51.34, 75.87, 338.16°)
OKLaboklab(61.01% 0.2101 -0.0762)
OKLCHoklch(61.01% 0.223 340.1)
XYZxyz(35.6776, 19.5634, 40.9189)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337AC #37D35E
analogous
#AC37D3 #D337AC #D3375E
triadic
#D337AC #ACD337 #37ACD3
tetradic
#D337AC #D3AC37 #37D35E #375ED3
square
#D337AC #D3AC37 #37D35E #375ED3
split-complementary
#D337AC #5ED337 #37D3AC
monochromatic
#761A5F #A82587 #D337AC #DE69C1 #E99BD6

Accessibility & contrast

On white

4.28
#D337AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D337AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337AC#FFFFFF#000000##000000
##D337AC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#DF3C6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d337ac;
/* rgb */ color: rgb(211, 55, 172);
/* oklch */ color: oklch(61.0% 0.223 340.1);
Tailwind
colors: {
  custom: {
    50: '#e57dc5',
    500: '#d337ac',
    950: '#000000',
  },
}
SCSS
$custom: #d337ac;
$custom-light: #e57dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d337ac",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 315,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.22349,
    "h": 340.1
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#D337AC
secondary
#91D5A2
accent
#E76A41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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