#D336BC#D336BC

#D336BC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.235 H 334.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D336BC
RGBrgb(211, 54, 188)
HSLhsl(309, 64%, 52%)
HSVhsv(309, 74%, 83%)
CMYKcmyk(0%, 74.4%, 10.9%, 17.3%)
CIE-LABlab(51.97, 72.95, -36.58)
CIE-LCHlch(51.97, 81.60, 333.37°)
OKLaboklab(61.71% 0.2127 -0.1)
OKLCHoklch(61.71% 0.235 334.8)
XYZxyz(37.2607, 20.1214, 49.4886)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336BC #36D34D
analogous
#9C36D3 #D336BC #D3366E
triadic
#D336BC #BCD336 #36BCD3
tetradic
#D336BC #D39C36 #36D34D #366ED3
square
#D336BC #D39C36 #36D34D #366ED3
split-complementary
#D336BC #6ED336 #36D39C
monochromatic
#751A68 #A72594 #D336BC #DE68CD #E99ADD

Accessibility & contrast

On white

4.18
#D336BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D336BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336BC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336BC#FFFFFF#000000##000000
##D336BC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#356DC0
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#DD4476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d336bc;
/* rgb */ color: rgb(211, 54, 188);
/* oklch */ color: oklch(61.7% 0.235 334.8);
Tailwind
colors: {
  custom: {
    50: '#e57dd0',
    500: '#d336bc',
    950: '#000000',
  },
}
SCSS
$custom: #d336bc;
$custom-light: #e57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d336bc",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 308.79,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.23501,
    "h": 334.8
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#D336BC
secondary
#90D59A
accent
#E75941
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D336BC

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

Preview Lab → · Contrast checker → · Palette generator →

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