#D336B0#D336B0

#D336B0 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.227 H 338.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D336B0
RGBrgb(211, 54, 176)
HSLhsl(313, 64%, 52%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 74.4%, 16.6%, 17.3%)
CIE-LABlab(51.41, 71.27, -30.46)
CIE-LCHlch(51.41, 77.50, 336.86°)
OKLaboklab(61.12% 0.2115 -0.0825)
OKLCHoklch(61.12% 0.227 338.7)
XYZxyz(36.0205, 19.6253, 42.9569)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B0 #36D359
analogous
#A836D3 #D336B0 #D33661
triadic
#D336B0 #B0D336 #36B0D3
tetradic
#D336B0 #D3A836 #36D359 #3661D3
square
#D336B0 #D3A836 #36D359 #3661D3
split-complementary
#D336B0 #61D336 #36D3A8
monochromatic
#751A61 #A7258A #D336B0 #DE68C4 #E99AD7

Accessibility & contrast

On white

4.26
#D336B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D336B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B0#FFFFFF#000000##000000
##D336B01.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#DF3D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336b0;
/* rgb */ color: rgb(211, 54, 176);
/* oklch */ color: oklch(61.1% 0.227 338.7);
Tailwind
colors: {
  custom: {
    50: '#e57dc8',
    500: '#d336b0',
    950: '#000000',
  },
}
SCSS
$custom: #d336b0;
$custom-light: #e57dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b0",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 313.376,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.22707,
    "h": 338.7
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#D336B0
secondary
#90D59F
accent
#E76641
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B0

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

Preview Lab → · Contrast checker → · Palette generator →

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