#5C182B#5C182B

#5C182B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.100 H 7.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5C182B
RGBrgb(92, 24, 43)
HSLhsl(343, 59%, 23%)
HSVhsv(343, 74%, 36%)
CMYKcmyk(0%, 73.9%, 53.3%, 63.9%)
CIE-LABlab(20.45, 32.40, 5.18)
CIE-LCHlch(20.45, 32.81, 9.08°)
OKLaboklab(32.71% 0.0986 0.0134)
OKLCHoklch(32.71% 0.1 7.7)
XYZxyz(5.1767, 3.1037, 2.6115)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C182B #185C49
analogous
#5C184D #5C182B #5C2718
triadic
#5C182B #2B5C18 #182B5C
tetradic
#5C182B #4D5C18 #185C49 #27185C
square
#5C182B #4D5C18 #185C49 #27185C
split-complementary
#5C182B #185C27 #184D5C
monochromatic
#18060B #2B0B14 #5C182B #8D2542 #BD3158

Accessibility & contrast

On white

12.96
#5C182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C182B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C182B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C182B#FFFFFF#000000##FFFFFF
##5C182B1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3A3629
Tritanopia (blue-blind)
#650C20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c182b;
/* rgb */ color: rgb(92, 24, 43);
/* oklch */ color: oklch(32.7% 0.100 7.7);
Tailwind
colors: {
  custom: {
    50: '#8e5a64',
    500: '#5c182b',
    950: '#000000',
  },
}
SCSS
$custom: #5c182b;
$custom-light: #8e5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c182b",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 343.235,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.09953,
    "h": 7.7
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#5C182B
secondary
#3D937B
accent
#E2B646
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C182B

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

Preview Lab → · Contrast checker → · Palette generator →

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