#D1337F#D1337F

#D1337F is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.6% C 0.203 H 356.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D1337F
RGBrgb(209, 51, 127)
HSLhsl(331, 63%, 51%)
HSVhsv(331, 76%, 82%)
CMYKcmyk(0%, 75.6%, 39.2%, 18%)
CIE-LABlab(48.83, 65.87, -5.21)
CIE-LCHlch(48.83, 66.07, 355.47°)
OKLaboklab(58.56% 0.2024 -0.0129)
OKLCHoklch(58.56% 0.203 356.4)
XYZxyz(31.3113, 17.4592, 21.7957)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1337F #33D185
analogous
#D133CE #D1337F #D13633
triadic
#D1337F #7FD133 #337FD1
tetradic
#D1337F #CED133 #33D185 #3633D1
square
#D1337F #CED133 #33D185 #3633D1
split-complementary
#D1337F #33D136 #33CED1
monochromatic
#701943 #A22561 #D1337F #DC659E #E897BE

Accessibility & contrast

On white

4.68
#D1337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D1337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1337F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1337F#FFFFFF#000000##FFFFFF
##D1337F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#E21D55
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d1337f;
/* rgb */ color: rgb(209, 51, 127);
/* oklch */ color: oklch(58.6% 0.203 356.4);
Tailwind
colors: {
  custom: {
    50: '#e479a4',
    500: '#d1337f',
    950: '#000000',
  },
}
SCSS
$custom: #d1337f;
$custom-light: #e479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1337f",
  "rgb": {
    "r": 209,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 331.139,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.2028,
    "h": 356.4
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#D1337F
secondary
#8DD3B1
accent
#E69742
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D1337F

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

Preview Lab → · Contrast checker → · Palette generator →

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