#5C163E#5C163E

#5C163E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.110 H 349.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5C163E
RGBrgb(92, 22, 62)
HSLhsl(326, 61%, 22%)
HSVhsv(326, 76%, 36%)
CMYKcmyk(0%, 76.1%, 32.6%, 63.9%)
CIE-LABlab(20.82, 35.51, -7.56)
CIE-LCHlch(20.82, 36.31, 347.98°)
OKLaboklab(33.19% 0.1083 -0.0198)
OKLCHoklch(33.19% 0.11 349.7)
XYZxyz(5.5703, 3.1976, 4.8803)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C163E #165C34
analogous
#57165C #5C163E #5C161B
triadic
#5C163E #3E5C16 #163E5C
tetradic
#5C163E #5C5716 #165C34 #161B5C
square
#5C163E #5C5716 #165C34 #161B5C
split-complementary
#5C163E #1B5C16 #165C57
monochromatic
#190611 #2B0A1D #5C163E #8D225F #BF2E81

Accessibility & contrast

On white

12.81
#5C163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C163E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C163E#FFFFFF#000000##FFFFFF
##5C163E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#631227
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c163e;
/* rgb */ color: rgb(92, 22, 62);
/* oklch */ color: oklch(33.2% 0.110 349.7);
Tailwind
colors: {
  custom: {
    50: '#8d5a73',
    500: '#5c163e',
    950: '#000000',
  },
}
SCSS
$custom: #5c163e;
$custom-light: #8d5a73;
$custom-dark: #000000;
JSON
{
  "hex": "#5c163e",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 325.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.11009,
    "h": 349.7
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#5C163E
secondary
#3B9361
accent
#E58843
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C163E

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

Preview Lab → · Contrast checker → · Palette generator →

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