#5C1337#5C1337

#5C1337 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.110 H 355.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5C1337
RGBrgb(92, 19, 55)
HSLhsl(330, 66%, 22%)
HSVhsv(330, 79%, 36%)
CMYKcmyk(0%, 79.3%, 40.2%, 63.9%)
CIE-LABlab(20.11, 35.79, -3.75)
CIE-LCHlch(20.11, 35.99, 354.02°)
OKLaboklab(32.58% 0.1099 -0.0094)
OKLCHoklch(32.58% 0.11 355.1)
XYZxyz(5.3364, 3.0175, 3.9151)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1337 #135C38
analogous
#5C135C #5C1337 #5C1413
triadic
#5C1337 #375C13 #13375C
tetradic
#5C1337 #5C5C13 #135C38 #14135C
square
#5C1337 #5C5C13 #135C38 #14135C
split-complementary
#5C1337 #135C14 #135C5C
monochromatic
#19050F #290919 #5C1337 #8F1D55 #C12874

Accessibility & contrast

On white

13.10
#5C1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1337
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1337#FFFFFF#000000##FFFFFF
##5C13371.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#353535
Tritanopia (blue-blind)
#640B23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1337;
/* rgb */ color: rgb(92, 19, 55);
/* oklch */ color: oklch(32.6% 0.110 355.1);
Tailwind
colors: {
  custom: {
    50: '#8e586d',
    500: '#5c1337',
    950: '#000000',
  },
}
SCSS
$custom: #5c1337;
$custom-light: #8e586d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1337",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 330.411,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32585,
    "c": 0.11025,
    "h": 355.1
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#5C1337
secondary
#379466
accent
#E9953F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1337

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

Preview Lab → · Contrast checker → · Palette generator →

#5C1337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva