#D336B5#D336B5

#D336B5 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.4% C 0.230 H 337.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D336B5
RGBrgb(211, 54, 181)
HSLhsl(311, 64%, 52%)
HSVhsv(311, 74%, 83%)
CMYKcmyk(0%, 74.4%, 14.2%, 17.3%)
CIE-LABlab(51.64, 71.96, -33.02)
CIE-LCHlch(51.64, 79.17, 335.35°)
OKLaboklab(61.36% 0.2121 -0.0899)
OKLCHoklch(61.36% 0.23 337)
XYZxyz(36.5243, 19.8268, 45.6105)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B5 #36D354
analogous
#A336D3 #D336B5 #D33667
triadic
#D336B5 #B5D336 #36B5D3
tetradic
#D336B5 #D3A336 #36D354 #3667D3
square
#D336B5 #D3A336 #36D354 #3667D3
split-complementary
#D336B5 #67D336 #36D3A3
monochromatic
#751A64 #A7258E #D336B5 #DE68C7 #E99ADA

Accessibility & contrast

On white

4.23
#D336B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D336B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B5#FFFFFF#000000##000000
##D336B51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#7184B1
Tritanopia (blue-blind)
#DE4072
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b5;
/* rgb */ color: rgb(211, 54, 181);
/* oklch */ color: oklch(61.4% 0.230 337.0);
Tailwind
colors: {
  custom: {
    50: '#e57dcb',
    500: '#d336b5',
    950: '#000000',
  },
}
SCSS
$custom: #d336b5;
$custom-light: #e57dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b5",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 311.465,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.23033,
    "h": 337
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#D336B5
secondary
#90D59D
accent
#E76141
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B5

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

Preview Lab → · Contrast checker → · Palette generator →

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