#D337AB#D337AB

#D337AB is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 61.0% C 0.223 H 340.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D337AB
RGBrgb(211, 55, 171)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 73.9%, 19%, 17.3%)
CIE-LABlab(51.30, 70.29, -27.71)
CIE-LCHlch(51.30, 75.55, 338.49°)
OKLaboklab(60.97% 0.21 -0.0747)
OKLCHoklch(60.97% 0.223 340.4)
XYZxyz(35.5819, 19.5251, 40.4150)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337AB #37D35F
analogous
#AD37D3 #D337AB #D3375D
triadic
#D337AB #ABD337 #37ABD3
tetradic
#D337AB #D3AD37 #37D35F #375DD3
square
#D337AB #D3AD37 #37D35F #375DD3
split-complementary
#D337AB #5DD337 #37D3AD
monochromatic
#761A5E #A82586 #D337AB #DE69C0 #E99BD5

Accessibility & contrast

On white

4.28
#D337AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D337AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337AB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337AB#FFFFFF#000000##000000
##D337AB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#E03C6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d337ab;
/* rgb */ color: rgb(211, 55, 171);
/* oklch */ color: oklch(61.0% 0.223 340.4);
Tailwind
colors: {
  custom: {
    50: '#e57dc4',
    500: '#d337ab',
    950: '#000000',
  },
}
SCSS
$custom: #d337ab;
$custom-light: #e57dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d337ab",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 315.385,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.22287,
    "h": 340.4
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#D337AB
secondary
#91D5A2
accent
#E76B41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D337AB

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

Preview Lab → · Contrast checker → · Palette generator →

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