#5C122B#5C122B

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

Color values

HEX#5C122B
RGBrgb(92, 18, 43)
HSLhsl(340, 67%, 22%)
HSVhsv(340, 80%, 36%)
CMYKcmyk(0%, 80.4%, 53.3%, 63.9%)
CIE-LABlab(19.57, 34.86, 3.92)
CIE-LCHlch(19.57, 35.08, 6.42°)
OKLaboklab(32.05% 0.1065 0.0103)
OKLCHoklch(32.05% 0.107 5.5)
XYZxyz(5.0664, 2.8830, 2.5747)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C122B #125C43
analogous
#5C1250 #5C122B #5C1E12
triadic
#5C122B #2B5C12 #122B5C
tetradic
#5C122B #505C12 #125C43 #1E125C
square
#5C122B #505C12 #125C43 #1E125C
split-complementary
#5C122B #125C1E #12505C
monochromatic
#1A050C #290813 #5C122B #8F1C43 #C2265B

Accessibility & contrast

On white

13.32
#5C122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C122B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C122B#FFFFFF#000000##FFFFFF
##5C122B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#65031D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c122b;
/* rgb */ color: rgb(92, 18, 43);
/* oklch */ color: oklch(32.1% 0.107 5.5);
Tailwind
colors: {
  custom: {
    50: '#8f5864',
    500: '#5c122b',
    950: '#000000',
  },
}
SCSS
$custom: #5c122b;
$custom-light: #8f5864;
$custom-dark: #000000;
JSON
{
  "hex": "#5c122b",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 339.73,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32051,
    "c": 0.10701,
    "h": 5.5
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#5C122B
secondary
#359474
accent
#EAB03E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C122B

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

Preview Lab → · Contrast checker → · Palette generator →

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