#D336B2#D336B2

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

Color values

HEX#D336B2
RGBrgb(211, 54, 178)
HSLhsl(313, 64%, 52%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 74.4%, 15.6%, 17.3%)
CIE-LABlab(51.50, 71.54, -31.49)
CIE-LCHlch(51.50, 78.16, 336.24°)
OKLaboklab(61.22% 0.2118 -0.0855)
OKLCHoklch(61.22% 0.228 338)
XYZxyz(36.2198, 19.7050, 44.0068)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336B2 #36D357
analogous
#A536D3 #D336B2 #D33664
triadic
#D336B2 #B2D336 #36B2D3
tetradic
#D336B2 #D3A536 #36D357 #3664D3
square
#D336B2 #D3A536 #36D357 #3664D3
split-complementary
#D336B2 #64D336 #36D3A5
monochromatic
#751A62 #A7258C #D336B2 #DE68C5 #E99AD8

Accessibility & contrast

On white

4.25
#D336B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D336B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336B2#FFFFFF#000000##000000
##D336B21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d336b2;
/* rgb */ color: rgb(211, 54, 178);
/* oklch */ color: oklch(61.2% 0.228 338.0);
Tailwind
colors: {
  custom: {
    50: '#e57dc9',
    500: '#d336b2',
    950: '#000000',
  },
}
SCSS
$custom: #d336b2;
$custom-light: #e57dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#d336b2",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 312.611,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.22836,
    "h": 338
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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