#5C142E#5C142E

#5C142E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.105 H 3.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5C142E
RGBrgb(92, 20, 46)
HSLhsl(338, 64%, 22%)
HSVhsv(338, 78%, 36%)
CMYKcmyk(0%, 78.3%, 50%, 63.9%)
CIE-LABlab(19.94, 34.39, 2.33)
CIE-LCHlch(19.94, 34.47, 3.87°)
OKLaboklab(32.35% 0.1053 0.0063)
OKLCHoklch(32.35% 0.105 3.4)
XYZxyz(5.1573, 2.9736, 2.8866)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C142E #145C42
analogous
#5C1452 #5C142E #5C1E14
triadic
#5C142E #2E5C14 #142E5C
tetradic
#5C142E #525C14 #145C42 #1E145C
square
#5C142E #525C14 #145C42 #1E145C
split-complementary
#5C142E #145C1E #14525C
monochromatic
#19050D #2A0915 #5C142E #8E1F47 #C12A60

Accessibility & contrast

On white

13.17
#5C142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C142E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C142E#FFFFFF#000000##FFFFFF
##5C142E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#65071F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c142e;
/* rgb */ color: rgb(92, 20, 46);
/* oklch */ color: oklch(32.4% 0.105 3.4);
Tailwind
colors: {
  custom: {
    50: '#8e5966',
    500: '#5c142e',
    950: '#000000',
  },
}
SCSS
$custom: #5c142e;
$custom-light: #8e5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5c142e",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 338.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32353,
    "c": 0.10545,
    "h": 3.4
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#5C142E
secondary
#389473
accent
#E7AB41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5C142E

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

Preview Lab → · Contrast checker → · Palette generator →

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