#D337B9#D337B9

#D337B9 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.6% C 0.232 H 335.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D337B9
RGBrgb(211, 55, 185)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 74%, 83%)
CMYKcmyk(0%, 73.9%, 12.3%, 17.3%)
CIE-LABlab(51.94, 72.22, -34.89)
CIE-LCHlch(51.94, 80.20, 334.21°)
OKLaboklab(61.64% 0.2115 -0.0952)
OKLCHoklch(61.64% 0.232 335.8)
XYZxyz(36.9877, 20.0874, 47.8188)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337B9 #37D351
analogous
#9F37D3 #D337B9 #D3376B
triadic
#D337B9 #B9D337 #37B9D3
tetradic
#D337B9 #D39F37 #37D351 #376BD3
square
#D337B9 #D39F37 #37D351 #376BD3
split-complementary
#D337B9 #6BD337 #37D39F
monochromatic
#761A66 #A82592 #D337B9 #DE69CB #E99BDC

Accessibility & contrast

On white

4.19
#D337B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D337B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337B9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337B9#FFFFFF#000000##000000
##D337B91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#7084B5
Tritanopia (blue-blind)
#DE4375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d337b9;
/* rgb */ color: rgb(211, 55, 185);
/* oklch */ color: oklch(61.6% 0.232 335.8);
Tailwind
colors: {
  custom: {
    50: '#e57dce',
    500: '#d337b9',
    950: '#000000',
  },
}
SCSS
$custom: #d337b9;
$custom-light: #e57dce;
$custom-dark: #000000;
JSON
{
  "hex": "#d337b9",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 310,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.23196,
    "h": 335.8
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D337B9

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

Preview Lab → · Contrast checker → · Palette generator →

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