#D336AB#D336AB

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

Color values

HEX#D336AB
RGBrgb(211, 54, 171)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 74.4%, 19%, 17.3%)
CIE-LABlab(51.19, 70.60, -27.87)
CIE-LCHlch(51.19, 75.90, 338.45°)
OKLaboklab(60.89% 0.2109 -0.0752)
OKLCHoklch(60.89% 0.224 340.4)
XYZxyz(35.5349, 19.4310, 40.3993)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336AB #36D35E
analogous
#AD36D3 #D336AB #D3365C
triadic
#D336AB #ABD336 #36ABD3
tetradic
#D336AB #D3AD36 #36D35E #365CD3
square
#D336AB #D3AD36 #36D35E #365CD3
split-complementary
#D336AB #5CD336 #36D3AD
monochromatic
#751A5E #A72586 #D336AB #DE68C0 #E99AD5

Accessibility & contrast

On white

4.30
#D336AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D336AB#FFFFFF#000000##000000
##D336AB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#E03B6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336ab;
/* rgb */ color: rgb(211, 54, 171);
/* oklch */ color: oklch(60.9% 0.224 340.4);
Tailwind
colors: {
  custom: {
    50: '#e57cc4',
    500: '#d336ab',
    950: '#000000',
  },
}
SCSS
$custom: #d336ab;
$custom-light: #e57cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d336ab",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 315.287,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.2239,
    "h": 340.4
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336AB

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

Preview Lab → · Contrast checker → · Palette generator →

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