#5C172C#5C172C

#5C172C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.101 H 6.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5C172C
RGBrgb(92, 23, 44)
HSLhsl(342, 60%, 23%)
HSVhsv(342, 75%, 36%)
CMYKcmyk(0%, 75%, 52.2%, 63.9%)
CIE-LABlab(20.32, 32.94, 4.29)
CIE-LCHlch(20.32, 33.22, 7.42°)
OKLaboklab(32.62% 0.1005 0.0112)
OKLCHoklch(32.62% 0.101 6.4)
XYZxyz(5.1751, 3.0706, 2.7026)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C172C #175C47
analogous
#5C174F #5C172C #5C2417
triadic
#5C172C #2C5C17 #172C5C
tetradic
#5C172C #4F5C17 #175C47 #24175C
square
#5C172C #4F5C17 #175C47 #24175C
split-complementary
#5C172C #175C24 #174F5C
monochromatic
#18060C #2B0B15 #5C172C #8D2343 #BE2F5B

Accessibility & contrast

On white

13.01
#5C172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C172C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C172C#FFFFFF#000000##FFFFFF
##5C172C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#650B20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c172c;
/* rgb */ color: rgb(92, 23, 44);
/* oklch */ color: oklch(32.6% 0.101 6.4);
Tailwind
colors: {
  custom: {
    50: '#8e5a64',
    500: '#5c172c',
    950: '#000000',
  },
}
SCSS
$custom: #5c172c;
$custom-light: #8e5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c172c",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 341.739,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.10108,
    "h": 6.4
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#5C172C
secondary
#3C9378
accent
#E3B345
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C172C

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

Preview Lab → · Contrast checker → · Palette generator →

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