#D336A9#D336A9

#D336A9 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.223 H 341.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D336A9
RGBrgb(211, 54, 169)
HSLhsl(316, 64%, 52%)
HSVhsv(316, 74%, 83%)
CMYKcmyk(0%, 74.4%, 19.9%, 17.3%)
CIE-LABlab(51.10, 70.33, -26.83)
CIE-LCHlch(51.10, 75.28, 339.12°)
OKLaboklab(60.8% 0.2106 -0.0723)
OKLCHoklch(60.8% 0.223 341.1)
XYZxyz(35.3457, 19.3554, 39.4029)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336A9 #36D360
analogous
#AF36D3 #D336A9 #D3365B
triadic
#D336A9 #A9D336 #36A9D3
tetradic
#D336A9 #D3AF36 #36D360 #365BD3
square
#D336A9 #D3AF36 #36D360 #365BD3
split-complementary
#D336A9 #5BD336 #36D3AF
monochromatic
#751A5D #A72584 #D336A9 #DE68BE #E99AD4

Accessibility & contrast

On white

4.31
#D336A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D336A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336A9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336A9#FFFFFF#000000##000000
##D336A91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436AAC
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#E03A6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336a9;
/* rgb */ color: rgb(211, 54, 169);
/* oklch */ color: oklch(60.8% 0.223 341.1);
Tailwind
colors: {
  custom: {
    50: '#e57cc3',
    500: '#d336a9',
    950: '#000000',
  },
}
SCSS
$custom: #d336a9;
$custom-light: #e57cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d336a9",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 316.051,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.22266,
    "h": 341.1
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#D336A9
secondary
#90D5A2
accent
#E76D41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D336A9

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

Preview Lab → · Contrast checker → · Palette generator →

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