#D5337F#D5337F

#D5337F is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.206 H 357.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D5337F
RGBrgb(213, 51, 127)
HSLhsl(332, 66%, 52%)
HSVhsv(332, 76%, 84%)
CMYKcmyk(0%, 76.1%, 40.4%, 16.5%)
CIE-LABlab(49.56, 66.91, -4.06)
CIE-LCHlch(49.56, 67.03, 356.53°)
OKLaboklab(59.22% 0.2057 -0.0098)
OKLCHoklch(59.22% 0.206 357.3)
XYZxyz(32.4575, 18.0503, 21.8494)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5337F #33D589
analogous
#D533D0 #D5337F #D53833
triadic
#D5337F #7FD533 #337FD5
tetradic
#D5337F #D0D533 #33D589 #3833D5
square
#D5337F #D0D533 #33D589 #3833D5
split-complementary
#D5337F #33D538 #33D0D5
monochromatic
#751844 #A82361 #D5337F #DF669F #EA99BF

Accessibility & contrast

On white

4.56
#D5337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#D5337F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5337F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5337F#FFFFFF#000000##000000
##D5337F1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#82817B
Tritanopia (blue-blind)
#E61955
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d5337f;
/* rgb */ color: rgb(213, 51, 127);
/* oklch */ color: oklch(59.2% 0.206 357.3);
Tailwind
colors: {
  custom: {
    50: '#e77aa4',
    500: '#d5337f',
    950: '#000000',
  },
}
SCSS
$custom: #d5337f;
$custom-light: #e77aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5337f",
  "rgb": {
    "r": 213,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 331.852,
    "s": 65.854,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.20589,
    "h": 357.3
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#D5337F
secondary
#8ED5B4
accent
#E9993F
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D5337F

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

Preview Lab → · Contrast checker → · Palette generator →

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