#5C112B#5C112B

#5C112B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 5.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5C112B
RGBrgb(92, 17, 43)
HSLhsl(339, 69%, 21%)
HSVhsv(339, 82%, 36%)
CMYKcmyk(0%, 81.5%, 53.3%, 63.9%)
CIE-LABlab(19.44, 35.23, 3.73)
CIE-LCHlch(19.44, 35.42, 6.05°)
OKLaboklab(31.95% 0.1077 0.0098)
OKLCHoklch(31.95% 0.108 5.2)
XYZxyz(5.0506, 2.8513, 2.5694)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C112B #115C42
analogous
#5C1151 #5C112B #5C1D11
triadic
#5C112B #2B5C11 #112B5C
tetradic
#5C112B #515C11 #115C42 #1D115C
square
#5C112B #515C11 #115C42 #1D115C
split-complementary
#5C112B #115C1D #11515C
monochromatic
#1A050C #280713 #5C112B #901B43 #C3245B

Accessibility & contrast

On white

13.37
#5C112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C112B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C112B#FFFFFF#000000##FFFFFF
##5C112B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#65011C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c112b;
/* rgb */ color: rgb(92, 17, 43);
/* oklch */ color: oklch(32.0% 0.108 5.2);
Tailwind
colors: {
  custom: {
    50: '#8f5764',
    500: '#5c112b',
    950: '#000000',
  },
}
SCSS
$custom: #5c112b;
$custom-light: #8f5764;
$custom-dark: #000000;
JSON
{
  "hex": "#5c112b",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 339.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31954,
    "c": 0.10814,
    "h": 5.2
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#5C112B
secondary
#349573
accent
#ECAF3C
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C112B

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

Preview Lab → · Contrast checker → · Palette generator →

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