#D336B3#D336B3

#D336B3 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.3% C 0.229 H 337.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D336B3
RGBrgb(211, 54, 179)
HSLhsl(312, 64%, 52%)
HSVhsv(312, 74%, 83%)
CMYKcmyk(0%, 74.4%, 15.2%, 17.3%)
CIE-LABlab(51.55, 71.68, -32.00)
CIE-LCHlch(51.55, 78.50, 335.94°)
OKLaboklab(61.27% 0.2119 -0.0869)
OKLCHoklch(61.27% 0.229 337.7)
XYZxyz(36.3206, 19.7453, 44.5375)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B3 #36D356
analogous
#A436D3 #D336B3 #D33665
triadic
#D336B3 #B3D336 #36B3D3
tetradic
#D336B3 #D3A436 #36D356 #3665D3
square
#D336B3 #D3A436 #36D356 #3665D3
split-complementary
#D336B3 #65D336 #36D3A4
monochromatic
#751A62 #A7258D #D336B3 #DE68C6 #E99AD9

Accessibility & contrast

On white

4.24
#D336B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D336B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B3#FFFFFF#000000##000000
##D336B31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB6
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#DF3F71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b3;
/* rgb */ color: rgb(211, 54, 179);
/* oklch */ color: oklch(61.3% 0.229 337.7);
Tailwind
colors: {
  custom: {
    50: '#e57dca',
    500: '#d336b3',
    950: '#000000',
  },
}
SCSS
$custom: #d336b3;
$custom-light: #e57dca;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b3",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 312.229,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.22901,
    "h": 337.7
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#D336B3
secondary
#90D59E
accent
#E76341
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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