#5C122A#5C122A

#5C122A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 6.4°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#5C122A
RGBrgb(92, 18, 42)
HSLhsl(341, 67%, 22%)
HSVhsv(341, 80%, 36%)
CMYKcmyk(0%, 80.4%, 54.3%, 63.9%)
CIE-LABlab(19.54, 34.76, 4.59)
CIE-LCHlch(19.54, 35.06, 7.52°)
OKLaboklab(32.02% 0.1061 0.012)
OKLCHoklch(32.02% 0.107 6.4)
XYZxyz(5.0483, 2.8758, 2.4793)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C122A #125C44
analogous
#5C124F #5C122A #5C1F12
triadic
#5C122A #2A5C12 #122A5C
tetradic
#5C122A #4F5C12 #125C44 #1F125C
square
#5C122A #4F5C12 #125C44 #1F125C
split-complementary
#5C122A #125C1F #124F5C
monochromatic
#1A050C #290813 #5C122A #8F1C41 #C22659

Accessibility & contrast

On white

13.33
#5C122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5C122A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C122A
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C122A#FFFFFF#000000##FFFFFF
##5C122A1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#65021C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c122a;
/* rgb */ color: rgb(92, 18, 42);
/* oklch */ color: oklch(32.0% 0.107 6.4);
Tailwind
colors: {
  custom: {
    50: '#8f5863',
    500: '#5c122a',
    950: '#000000',
  },
}
SCSS
$custom: #5c122a;
$custom-light: #8f5863;
$custom-dark: #000000;
JSON
{
  "hex": "#5c122a",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 340.541,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.10676,
    "h": 6.4
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#5C122A
secondary
#359476
accent
#EAB23E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C122A

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

Preview Lab → · Contrast checker → · Palette generator →

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