#D336AA#D336AA

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

Color values

HEX#D336AA
RGBrgb(211, 54, 170)
HSLhsl(316, 64%, 52%)
HSVhsv(316, 74%, 83%)
CMYKcmyk(0%, 74.4%, 19.4%, 17.3%)
CIE-LABlab(51.14, 70.46, -27.35)
CIE-LCHlch(51.14, 75.59, 338.78°)
OKLaboklab(60.84% 0.2108 -0.0737)
OKLCHoklch(60.84% 0.223 340.7)
XYZxyz(35.4399, 19.3931, 39.8992)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336AA #36D35F
analogous
#AE36D3 #D336AA #D3365B
triadic
#D336AA #AAD336 #36AAD3
tetradic
#D336AA #D3AE36 #36D35F #365BD3
square
#D336AA #D3AE36 #36D35F #365BD3
split-complementary
#D336AA #5BD336 #36D3AE
monochromatic
#751A5D #A72585 #D336AA #DE68BF #E99AD4

Accessibility & contrast

On white

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

On black

4.88
#D336AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336AA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336AA#FFFFFF#000000##000000
##D336AA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#7583A6
Tritanopia (blue-blind)
#E03A6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336aa;
/* rgb */ color: rgb(211, 54, 170);
/* oklch */ color: oklch(60.8% 0.223 340.7);
Tailwind
colors: {
  custom: {
    50: '#e57cc3',
    500: '#d336aa',
    950: '#000000',
  },
}
SCSS
$custom: #d336aa;
$custom-light: #e57cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d336aa",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 315.669,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.22329,
    "h": 340.7
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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