#D337B1#D337B1

#D337B1 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.2% C 0.227 H 338.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D337B1
RGBrgb(211, 55, 177)
HSLhsl(313, 64%, 52%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 73.9%, 16.1%, 17.3%)
CIE-LABlab(51.56, 71.10, -30.81)
CIE-LCHlch(51.56, 77.49, 336.57°)
OKLaboklab(61.25% 0.2107 -0.0835)
OKLCHoklch(61.25% 0.227 338.4)
XYZxyz(36.1668, 19.7591, 43.4956)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337B1 #37D359
analogous
#A737D3 #D337B1 #D33763
triadic
#D337B1 #B1D337 #37B1D3
tetradic
#D337B1 #D3A737 #37D359 #3763D3
square
#D337B1 #D3A737 #37D359 #3763D3
split-complementary
#D337B1 #63D337 #37D3A7
monochromatic
#761A62 #A8258B #D337B1 #DE69C5 #E99BD8

Accessibility & contrast

On white

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

On black

4.95
#D337B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337B1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337B1#FFFFFF#000000##000000
##D337B11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB4
Deuteranopia (green-blind)
#7384AD
Tritanopia (blue-blind)
#DF3F70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d337b1;
/* rgb */ color: rgb(211, 55, 177);
/* oklch */ color: oklch(61.2% 0.227 338.4);
Tailwind
colors: {
  custom: {
    50: '#e57dc8',
    500: '#d337b1',
    950: '#000000',
  },
}
SCSS
$custom: #d337b1;
$custom-light: #e57dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d337b1",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 313.077,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.22669,
    "h": 338.4
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#D337B1
secondary
#91D5A0
accent
#E76541
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D337B1

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

Preview Lab → · Contrast checker → · Palette generator →

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