#D1337A#D1337A

#D1337A is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.4% C 0.201 H 358.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D1337A
RGBrgb(209, 51, 122)
HSLhsl(333, 63%, 51%)
HSVhsv(333, 76%, 82%)
CMYKcmyk(0%, 75.6%, 41.6%, 18%)
CIE-LABlab(48.68, 65.37, -2.41)
CIE-LCHlch(48.68, 65.42, 357.89°)
OKLaboklab(58.4% 0.2009 -0.0055)
OKLCHoklch(58.4% 0.201 358.4)
XYZxyz(30.9935, 17.3321, 20.1219)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1337A #33D18A
analogous
#D133C9 #D1337A #D13B33
triadic
#D1337A #7AD133 #337AD1
tetradic
#D1337A #C9D133 #33D18A #3B33D1
square
#D1337A #C9D133 #33D18A #3B33D1
split-complementary
#D1337A #33D13B #33C9D1
monochromatic
#701940 #A2255D #D1337A #DC659B #E897BB

Accessibility & contrast

On white

4.70
#D1337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#D1337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1337A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1337A#FFFFFF#000000##FFFFFF
##D1337A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#817E76
Tritanopia (blue-blind)
#E21952
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d1337a;
/* rgb */ color: rgb(209, 51, 122);
/* oklch */ color: oklch(58.4% 0.201 358.4);
Tailwind
colors: {
  custom: {
    50: '#e579a0',
    500: '#d1337a',
    950: '#000000',
  },
}
SCSS
$custom: #d1337a;
$custom-light: #e579a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1337a",
  "rgb": {
    "r": 209,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 333.038,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.20094,
    "h": 358.4
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#D1337A
secondary
#8DD3B3
accent
#E69C42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D1337A

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

Preview Lab → · Contrast checker → · Palette generator →

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