#5C1338#5C1338

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

Color values

HEX#5C1338
RGBrgb(92, 19, 56)
HSLhsl(330, 66%, 22%)
HSVhsv(330, 79%, 36%)
CMYKcmyk(0%, 79.3%, 39.1%, 63.9%)
CIE-LABlab(20.15, 35.92, -4.39)
CIE-LCHlch(20.15, 36.19, 353.03°)
OKLaboklab(32.63% 0.1102 -0.0111)
OKLCHoklch(32.63% 0.111 354.2)
XYZxyz(5.3607, 3.0272, 4.0426)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1338 #135C37
analogous
#5C135C #5C1338 #5C1314
triadic
#5C1338 #385C13 #13385C
tetradic
#5C1338 #5C5C13 #135C37 #13145C
square
#5C1338 #5C5C13 #135C37 #13145C
split-complementary
#5C1338 #145C13 #135C5C
monochromatic
#19050F #290919 #5C1338 #8F1D57 #C12876

Accessibility & contrast

On white

13.08
#5C1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1338
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1338#FFFFFF#000000##FFFFFF
##5C13381.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1338;
/* rgb */ color: rgb(92, 19, 56);
/* oklch */ color: oklch(32.6% 0.111 354.2);
Tailwind
colors: {
  custom: {
    50: '#8e586e',
    500: '#5c1338',
    950: '#000000',
  },
}
SCSS
$custom: #5c1338;
$custom-light: #8e586e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1338",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 329.589,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.11074,
    "h": 354.2
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#5C1338
secondary
#379465
accent
#E9933F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1338

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

Preview Lab → · Contrast checker → · Palette generator →

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