#5C122F#5C122F

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

Color values

HEX#5C122F
RGBrgb(92, 18, 47)
HSLhsl(336, 67%, 22%)
HSVhsv(336, 80%, 36%)
CMYKcmyk(0%, 80.4%, 48.9%, 63.9%)
CIE-LABlab(19.70, 35.26, 1.27)
CIE-LCHlch(19.70, 35.29, 2.06°)
OKLaboklab(32.19% 0.1081 0.0037)
OKLCHoklch(32.19% 0.108 1.9)
XYZxyz(5.1434, 2.9138, 2.9804)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C122F #125C3F
analogous
#5C1254 #5C122F #5C1A12
triadic
#5C122F #2F5C12 #122F5C
tetradic
#5C122F #545C12 #125C3F #1A125C
square
#5C122F #545C12 #125C3F #1A125C
split-complementary
#5C122F #125C1A #12545C
monochromatic
#1A050D #290815 #5C122F #8F1C49 #C22663

Accessibility & contrast

On white

13.27
#5C122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C122F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C122F#FFFFFF#000000##FFFFFF
##5C122F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#65051E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c122f;
/* rgb */ color: rgb(92, 18, 47);
/* oklch */ color: oklch(32.2% 0.108 1.9);
Tailwind
colors: {
  custom: {
    50: '#8e5867',
    500: '#5c122f',
    950: '#000000',
  },
}
SCSS
$custom: #5c122f;
$custom-light: #8e5867;
$custom-dark: #000000;
JSON
{
  "hex": "#5c122f",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 336.486,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32185,
    "c": 0.10819,
    "h": 1.9
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#5C122F
secondary
#35946F
accent
#EAA73E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C122F

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

Preview Lab → · Contrast checker → · Palette generator →

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