#D336B1#D336B1

#D336B1 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.2% C 0.228 H 338.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D336B1
RGBrgb(211, 54, 177)
HSLhsl(313, 64%, 52%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 74.4%, 16.1%, 17.3%)
CIE-LABlab(51.46, 71.40, -30.97)
CIE-LCHlch(51.46, 77.83, 336.55°)
OKLaboklab(61.17% 0.2117 -0.084)
OKLCHoklch(61.17% 0.228 338.3)
XYZxyz(36.1198, 19.6650, 43.4799)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B1 #36D358
analogous
#A736D3 #D336B1 #D33662
triadic
#D336B1 #B1D336 #36B1D3
tetradic
#D336B1 #D3A736 #36D358 #3662D3
square
#D336B1 #D3A736 #36D358 #3662D3
split-complementary
#D336B1 #62D336 #36D3A7
monochromatic
#751A61 #A7258B #D336B1 #DE68C4 #E99AD8

Accessibility & contrast

On white

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

On black

4.93
#D336B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B1#FFFFFF#000000##000000
##D336B11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#7383AD
Tritanopia (blue-blind)
#DF3E70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b1;
/* rgb */ color: rgb(211, 54, 177);
/* oklch */ color: oklch(61.2% 0.228 338.3);
Tailwind
colors: {
  custom: {
    50: '#e57dc8',
    500: '#d336b1',
    950: '#000000',
  },
}
SCSS
$custom: #d336b1;
$custom-light: #e57dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b1",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 312.994,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.22772,
    "h": 338.3
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336B1

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

Preview Lab → · Contrast checker → · Palette generator →

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