#D336AC#D336AC

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

Color values

HEX#D336AC
RGBrgb(211, 54, 172)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 74.4%, 18.5%, 17.3%)
CIE-LABlab(51.23, 70.73, -28.39)
CIE-LCHlch(51.23, 76.22, 338.13°)
OKLaboklab(60.94% 0.211 -0.0767)
OKLCHoklch(60.94% 0.225 340)
XYZxyz(35.6305, 19.4693, 40.9032)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336AC #36D35D
analogous
#AB36D3 #D336AC #D3365E
triadic
#D336AC #ACD336 #36ACD3
tetradic
#D336AC #D3AB36 #36D35D #365ED3
square
#D336AC #D3AB36 #36D35D #365ED3
split-complementary
#D336AC #5ED336 #36D3AB
monochromatic
#751A5E #A72587 #D336AC #DE68C1 #E99AD5

Accessibility & contrast

On white

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

On black

4.89
#D336AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336AC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336AC#FFFFFF#000000##000000
##D336AC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d336ac;
/* rgb */ color: rgb(211, 54, 172);
/* oklch */ color: oklch(60.9% 0.225 340.0);
Tailwind
colors: {
  custom: {
    50: '#e57cc5',
    500: '#d336ac',
    950: '#000000',
  },
}
SCSS
$custom: #d336ac;
$custom-light: #e57cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d336ac",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 314.904,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.22453,
    "h": 340
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#D336AC
secondary
#90D5A1
accent
#E76A41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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