#5C122E#5C122E

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

Color values

HEX#5C122E
RGBrgb(92, 18, 46)
HSLhsl(337, 67%, 22%)
HSVhsv(337, 80%, 36%)
CMYKcmyk(0%, 80.4%, 50%, 63.9%)
CIE-LABlab(19.66, 35.16, 1.93)
CIE-LCHlch(19.66, 35.21, 3.14°)
OKLaboklab(32.15% 0.1077 0.0053)
OKLCHoklch(32.15% 0.108 2.8)
XYZxyz(5.1235, 2.9059, 2.8753)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C122E #125C40
analogous
#5C1253 #5C122E #5C1B12
triadic
#5C122E #2E5C12 #122E5C
tetradic
#5C122E #535C12 #125C40 #1B125C
square
#5C122E #535C12 #125C40 #1B125C
split-complementary
#5C122E #125C1B #12535C
monochromatic
#1A050D #290814 #5C122E #8F1C48 #C22661

Accessibility & contrast

On white

13.28
#5C122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C122E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C122E#FFFFFF#000000##FFFFFF
##5C122E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#65041E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c122e;
/* rgb */ color: rgb(92, 18, 46);
/* oklch */ color: oklch(32.1% 0.108 2.8);
Tailwind
colors: {
  custom: {
    50: '#8e5866',
    500: '#5c122e',
    950: '#000000',
  },
}
SCSS
$custom: #5c122e;
$custom-light: #8e5866;
$custom-dark: #000000;
JSON
{
  "hex": "#5c122e",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 337.297,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3215,
    "c": 0.10786,
    "h": 2.8
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#5C122E
secondary
#359470
accent
#EAA93E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C122E

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

Preview Lab → · Contrast checker → · Palette generator →

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