#D336B8#D336B8

#D336B8 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.5% C 0.232 H 336.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D336B8
RGBrgb(211, 54, 184)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 74%, 83%)
CMYKcmyk(0%, 74.4%, 12.8%, 17.3%)
CIE-LABlab(51.78, 72.38, -34.55)
CIE-LCHlch(51.78, 80.20, 334.48°)
OKLaboklab(61.51% 0.2123 -0.0942)
OKLCHoklch(61.51% 0.232 336.1)
XYZxyz(36.8355, 19.9513, 47.2491)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B8 #36D351
analogous
#9F36D3 #D336B8 #D3366A
triadic
#D336B8 #B8D336 #36B8D3
tetradic
#D336B8 #D39F36 #36D351 #366AD3
square
#D336B8 #D39F36 #36D351 #366AD3
split-complementary
#D336B8 #6AD336 #36D39F
monochromatic
#751A65 #A72591 #D336B8 #DE68CA #E99ADB

Accessibility & contrast

On white

4.21
#D336B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D336B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B8#FFFFFF#000000##000000
##D336B81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#386CBC
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#DE4274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b8;
/* rgb */ color: rgb(211, 54, 184);
/* oklch */ color: oklch(61.5% 0.232 336.1);
Tailwind
colors: {
  custom: {
    50: '#e57dcd',
    500: '#d336b8',
    950: '#000000',
  },
}
SCSS
$custom: #d336b8;
$custom-light: #e57dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b8",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 310.318,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.23231,
    "h": 336.1
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#D336B8
secondary
#90D59C
accent
#E75D41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336B8

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

Preview Lab → · Contrast checker → · Palette generator →

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