#D1337C#D1337C

#D1337C is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.5% C 0.202 H 357.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D1337C
RGBrgb(209, 51, 124)
HSLhsl(332, 63%, 51%)
HSVhsv(332, 76%, 82%)
CMYKcmyk(0%, 75.6%, 40.7%, 18%)
CIE-LABlab(48.74, 65.57, -3.53)
CIE-LCHlch(48.74, 65.66, 356.92°)
OKLaboklab(58.46% 0.2015 -0.0085)
OKLCHoklch(58.46% 0.202 357.6)
XYZxyz(31.1187, 17.3822, 20.7813)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1337C #33D188
analogous
#D133CB #D1337C #D13933
triadic
#D1337C #7CD133 #337CD1
tetradic
#D1337C #CBD133 #33D188 #3933D1
square
#D1337C #CBD133 #33D188 #3933D1
split-complementary
#D1337C #33D139 #33CBD1
monochromatic
#701941 #A2255F #D1337C #DC659C #E897BC

Accessibility & contrast

On white

4.69
#D1337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#D1337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1337C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1337C#FFFFFF#000000##FFFFFF
##D1337C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#807E78
Tritanopia (blue-blind)
#E21A53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d1337c;
/* rgb */ color: rgb(209, 51, 124);
/* oklch */ color: oklch(58.5% 0.202 357.6);
Tailwind
colors: {
  custom: {
    50: '#e579a1',
    500: '#d1337c',
    950: '#000000',
  },
}
SCSS
$custom: #d1337c;
$custom-light: #e579a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1337c",
  "rgb": {
    "r": 209,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 332.278,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.20166,
    "h": 357.6
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#D1337C
secondary
#8DD3B3
accent
#E69A42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D1337C

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

Preview Lab → · Contrast checker → · Palette generator →

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