#5C162E#5C162E

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

Color values

HEX#5C162E
RGBrgb(92, 22, 46)
HSLhsl(339, 61%, 22%)
HSVhsv(339, 76%, 36%)
CMYKcmyk(0%, 76.1%, 50%, 63.9%)
CIE-LABlab(20.23, 33.57, 2.75)
CIE-LCHlch(20.23, 33.68, 4.68°)
OKLaboklab(32.57% 0.1027 0.0074)
OKLCHoklch(32.57% 0.103 4.1)
XYZxyz(5.1941, 3.0471, 2.8989)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C162E #165C44
analogous
#5C1651 #5C162E #5C2116
triadic
#5C162E #2E5C16 #162E5C
tetradic
#5C162E #515C16 #165C44 #21165C
square
#5C162E #515C16 #165C44 #21165C
split-complementary
#5C162E #165C21 #16515C
monochromatic
#19060C #2B0A15 #5C162E #8D2247 #BF2E5F

Accessibility & contrast

On white

13.05
#5C162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C162E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C162E#FFFFFF#000000##FFFFFF
##5C162E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#650A20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c162e;
/* rgb */ color: rgb(92, 22, 46);
/* oklch */ color: oklch(32.6% 0.103 4.1);
Tailwind
colors: {
  custom: {
    50: '#8e5966',
    500: '#5c162e',
    950: '#000000',
  },
}
SCSS
$custom: #5c162e;
$custom-light: #8e5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5c162e",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 339.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3257,
    "c": 0.10292,
    "h": 4.1
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#5C162E
secondary
#3B9375
accent
#E5AD43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C162E

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

Preview Lab → · Contrast checker → · Palette generator →

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