#D336B6#D336B6

#D336B6 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.4% C 0.231 H 336.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D336B6
RGBrgb(211, 54, 182)
HSLhsl(311, 64%, 52%)
HSVhsv(311, 74%, 83%)
CMYKcmyk(0%, 74.4%, 13.7%, 17.3%)
CIE-LABlab(51.69, 72.10, -33.53)
CIE-LCHlch(51.69, 79.51, 335.06°)
OKLaboklab(61.41% 0.2122 -0.0913)
OKLCHoklch(61.41% 0.231 336.7)
XYZxyz(36.6273, 19.8680, 46.1528)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B6 #36D353
analogous
#A236D3 #D336B6 #D33667
triadic
#D336B6 #B6D336 #36B6D3
tetradic
#D336B6 #D3A236 #36D353 #3667D3
square
#D336B6 #D3A236 #36D353 #3667D3
split-complementary
#D336B6 #67D336 #36D3A2
monochromatic
#751A64 #A7258F #D336B6 #DE68C8 #E99ADA

Accessibility & contrast

On white

4.22
#D336B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D336B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B6#FFFFFF#000000##000000
##D336B61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#DE4173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b6;
/* rgb */ color: rgb(211, 54, 182);
/* oklch */ color: oklch(61.4% 0.231 336.7);
Tailwind
colors: {
  custom: {
    50: '#e57dcc',
    500: '#d336b6',
    950: '#000000',
  },
}
SCSS
$custom: #d336b6;
$custom-light: #e57dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b6",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 311.083,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.23098,
    "h": 336.7
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#D336B6
secondary
#90D59D
accent
#E75F41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B6

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

Preview Lab → · Contrast checker → · Palette generator →

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