#5C182F#5C182F

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

Color values

HEX#5C182F
RGBrgb(92, 24, 47)
HSLhsl(340, 59%, 23%)
HSVhsv(340, 74%, 36%)
CMYKcmyk(0%, 73.9%, 48.9%, 63.9%)
CIE-LABlab(20.57, 32.82, 2.54)
CIE-LCHlch(20.57, 32.91, 4.42°)
OKLaboklab(32.83% 0.1003 0.0069)
OKLCHoklch(32.83% 0.101 3.9)
XYZxyz(5.2538, 3.1345, 3.0171)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C182F #185C45
analogous
#5C1851 #5C182F #5C2318
triadic
#5C182F #2F5C18 #182F5C
tetradic
#5C182F #515C18 #185C45 #23185C
square
#5C182F #515C18 #185C45 #23185C
split-complementary
#5C182F #185C23 #18515C
monochromatic
#18060C #2B0B16 #5C182F #8D2548 #BD3161

Accessibility & contrast

On white

12.91
#5C182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C182F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C182F#FFFFFF#000000##FFFFFF
##5C182F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#39362D
Tritanopia (blue-blind)
#640E21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c182f;
/* rgb */ color: rgb(92, 24, 47);
/* oklch */ color: oklch(32.8% 0.101 3.9);
Tailwind
colors: {
  custom: {
    50: '#8e5a67',
    500: '#5c182f',
    950: '#000000',
  },
}
SCSS
$custom: #5c182f;
$custom-light: #8e5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c182f",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 339.706,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.10054,
    "h": 3.9
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#5C182F
secondary
#3D9376
accent
#E2AD46
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C182F

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

Preview Lab → · Contrast checker → · Palette generator →

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