#D336AD#D336AD

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

Color values

HEX#D336AD
RGBrgb(211, 54, 173)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 74.4%, 18%, 17.3%)
CIE-LABlab(51.28, 70.86, -28.91)
CIE-LCHlch(51.28, 76.53, 337.81°)
OKLaboklab(60.98% 0.2112 -0.0781)
OKLCHoklch(60.98% 0.225 339.7)
XYZxyz(35.7269, 19.5079, 41.4109)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336AD #36D35C
analogous
#AA36D3 #D336AD #D3365F
triadic
#D336AD #ADD336 #36ADD3
tetradic
#D336AD #D3AA36 #36D35C #365FD3
square
#D336AD #D3AA36 #36D35C #365FD3
split-complementary
#D336AD #5FD336 #36D3AA
monochromatic
#751A5F #A72588 #D336AD #DE68C1 #E99AD6

Accessibility & contrast

On white

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

On black

4.90
#D336AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336AD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336AD#FFFFFF#000000##000000
##D336AD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AB0
Deuteranopia (green-blind)
#7483A9
Tritanopia (blue-blind)
#DF3C6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336ad;
/* rgb */ color: rgb(211, 54, 173);
/* oklch */ color: oklch(61.0% 0.225 339.7);
Tailwind
colors: {
  custom: {
    50: '#e57cc5',
    500: '#d336ad',
    950: '#000000',
  },
}
SCSS
$custom: #d336ad;
$custom-light: #e57cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d336ad",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 314.522,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.22516,
    "h": 339.7
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336AD

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

Preview Lab → · Contrast checker → · Palette generator →

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