#D336A8#D336A8

#D336A8 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.8% C 0.222 H 341.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D336A8
RGBrgb(211, 54, 168)
HSLhsl(316, 64%, 52%)
HSVhsv(316, 74%, 83%)
CMYKcmyk(0%, 74.4%, 20.4%, 17.3%)
CIE-LABlab(51.06, 70.20, -26.31)
CIE-LCHlch(51.06, 74.97, 339.45°)
OKLaboklab(60.75% 0.2105 -0.0708)
OKLCHoklch(60.75% 0.222 341.4)
XYZxyz(35.2522, 19.3180, 38.9104)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336A8 #36D361
analogous
#B036D3 #D336A8 #D3365A
triadic
#D336A8 #A8D336 #36A8D3
tetradic
#D336A8 #D3B036 #36D361 #365AD3
square
#D336A8 #D3B036 #36D361 #365AD3
split-complementary
#D336A8 #5AD336 #36D3B0
monochromatic
#751A5C #A72583 #D336A8 #DE68BE #E99AD3

Accessibility & contrast

On white

4.32
#D336A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D336A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336A8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336A8#FFFFFF#000000##000000
##D336A81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#E0396B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336a8;
/* rgb */ color: rgb(211, 54, 168);
/* oklch */ color: oklch(60.8% 0.222 341.4);
Tailwind
colors: {
  custom: {
    50: '#e57cc2',
    500: '#d336a8',
    950: '#000000',
  },
}
SCSS
$custom: #d336a8;
$custom-light: #e57cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d336a8",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 316.433,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.22205,
    "h": 341.4
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#D336A8
secondary
#90D5A3
accent
#E76E41
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D336A8

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

Preview Lab → · Contrast checker → · Palette generator →

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