#5C163F#5C163F

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

Color values

HEX#5C163F
RGBrgb(92, 22, 63)
HSLhsl(325, 61%, 22%)
HSVhsv(325, 76%, 36%)
CMYKcmyk(0%, 76.1%, 31.5%, 63.9%)
CIE-LABlab(20.86, 35.65, -8.19)
CIE-LCHlch(20.86, 36.58, 347.06°)
OKLaboklab(33.24% 0.1086 -0.0215)
OKLCHoklch(33.24% 0.111 348.8)
XYZxyz(5.5980, 3.2086, 5.0262)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C163F #165C33
analogous
#56165C #5C163F #5C161C
triadic
#5C163F #3F5C16 #163F5C
tetradic
#5C163F #5C5616 #165C33 #161C5C
square
#5C163F #5C5616 #165C33 #161C5C
split-complementary
#5C163F #1C5C16 #165C56
monochromatic
#190611 #2B0A1D #5C163F #8D2261 #BF2E83

Accessibility & contrast

On white

12.79
#5C163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C163F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C163F#FFFFFF#000000##FFFFFF
##5C163F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#34373D
Tritanopia (blue-blind)
#631328
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c163f;
/* rgb */ color: rgb(92, 22, 63);
/* oklch */ color: oklch(33.2% 0.111 348.8);
Tailwind
colors: {
  custom: {
    50: '#8d5a74',
    500: '#5c163f',
    950: '#000000',
  },
}
SCSS
$custom: #5c163f;
$custom-light: #8d5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5c163f",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 324.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.11069,
    "h": 348.8
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#5C163F
secondary
#3B935F
accent
#E58643
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C163F

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

Preview Lab → · Contrast checker → · Palette generator →

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