#D336BB#D336BB

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

Color values

HEX#D336BB
RGBrgb(211, 54, 187)
HSLhsl(309, 64%, 52%)
HSVhsv(309, 74%, 83%)
CMYKcmyk(0%, 74.4%, 11.4%, 17.3%)
CIE-LABlab(51.93, 72.80, -36.07)
CIE-LCHlch(51.93, 81.25, 333.64°)
OKLaboklab(61.66% 0.2126 -0.0986)
OKLCHoklch(61.66% 0.234 335.1)
XYZxyz(37.1533, 20.0784, 48.9229)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336BB #36D34E
analogous
#9D36D3 #D336BB #D3366D
triadic
#D336BB #BBD336 #36BBD3
tetradic
#D336BB #D39D36 #36D34E #366DD3
square
#D336BB #D39D36 #36D34E #366DD3
split-complementary
#D336BB #6DD336 #36D39D
monochromatic
#751A67 #A72593 #D336BB #DE68CC #E99ADD

Accessibility & contrast

On white

4.19
#D336BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D336BB#FFFFFF#000000##000000
##D336BB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#6F84B7
Tritanopia (blue-blind)
#DD4376
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d336bb;
/* rgb */ color: rgb(211, 54, 187);
/* oklch */ color: oklch(61.7% 0.234 335.1);
Tailwind
colors: {
  custom: {
    50: '#e57dd0',
    500: '#d336bb',
    950: '#000000',
  },
}
SCSS
$custom: #d336bb;
$custom-light: #e57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d336bb",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 309.172,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.23433,
    "h": 335.1
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#D336BB
secondary
#90D59B
accent
#E75A41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D336BB

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

Preview Lab → · Contrast checker → · Palette generator →

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