#D336B4#D336B4

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

Color values

HEX#D336B4
RGBrgb(211, 54, 180)
HSLhsl(312, 64%, 52%)
HSVhsv(312, 74%, 83%)
CMYKcmyk(0%, 74.4%, 14.7%, 17.3%)
CIE-LABlab(51.59, 71.82, -32.51)
CIE-LCHlch(51.59, 78.83, 335.64°)
OKLaboklab(61.32% 0.212 -0.0884)
OKLCHoklch(61.32% 0.23 337.4)
XYZxyz(36.4221, 19.7859, 45.0720)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B4 #36D355
analogous
#A436D3 #D336B4 #D33666
triadic
#D336B4 #B4D336 #36B4D3
tetradic
#D336B4 #D3A436 #36D355 #3666D3
square
#D336B4 #D3A436 #36D355 #3666D3
split-complementary
#D336B4 #66D336 #36D3A4
monochromatic
#751A63 #A7258D #D336B4 #DE68C7 #E99AD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D336B4#FFFFFF#000000##000000
##D336B41.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB7
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#DE4072
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d336b4;
/* rgb */ color: rgb(211, 54, 180);
/* oklch */ color: oklch(61.3% 0.230 337.4);
Tailwind
colors: {
  custom: {
    50: '#e57dcb',
    500: '#d336b4',
    950: '#000000',
  },
}
SCSS
$custom: #d336b4;
$custom-light: #e57dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b4",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 311.847,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.22967,
    "h": 337.4
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336B4

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

Preview Lab → · Contrast checker → · Palette generator →

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