#D336B9#D336B9

#D336B9 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.233 H 335.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D336B9
RGBrgb(211, 54, 185)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 74%, 83%)
CMYKcmyk(0%, 74.4%, 12.3%, 17.3%)
CIE-LABlab(51.83, 72.52, -35.06)
CIE-LCHlch(51.83, 80.55, 334.20°)
OKLaboklab(61.56% 0.2124 -0.0957)
OKLCHoklch(61.56% 0.233 335.8)
XYZxyz(36.9406, 19.9934, 47.8031)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B9 #36D350
analogous
#9E36D3 #D336B9 #D3366B
triadic
#D336B9 #B9D336 #36B9D3
tetradic
#D336B9 #D39E36 #36D350 #366BD3
square
#D336B9 #D39E36 #36D350 #366BD3
split-complementary
#D336B9 #6BD336 #36D39E
monochromatic
#751A66 #A72592 #D336B9 #DE68CA #E99ADC

Accessibility & contrast

On white

4.20
#D336B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D336B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B9#FFFFFF#000000##000000
##D336B91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#6F84B5
Tritanopia (blue-blind)
#DE4274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d336b9;
/* rgb */ color: rgb(211, 54, 185);
/* oklch */ color: oklch(61.6% 0.233 335.8);
Tailwind
colors: {
  custom: {
    50: '#e57dce',
    500: '#d336b9',
    950: '#000000',
  },
}
SCSS
$custom: #d336b9;
$custom-light: #e57dce;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b9",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 309.936,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.23299,
    "h": 335.8
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#D336B9
secondary
#90D59B
accent
#E75C41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B9

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

Preview Lab → · Contrast checker → · Palette generator →

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