#5C142F#5C142F

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

Color values

HEX#5C142F
RGBrgb(92, 20, 47)
HSLhsl(338, 64%, 22%)
HSVhsv(338, 78%, 36%)
CMYKcmyk(0%, 78.3%, 48.9%, 63.9%)
CIE-LABlab(19.97, 34.49, 1.67)
CIE-LCHlch(19.97, 34.53, 2.77°)
OKLaboklab(32.39% 0.1057 0.0047)
OKLCHoklch(32.39% 0.106 2.5)
XYZxyz(5.1773, 2.9815, 2.9916)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C142F #145C41
analogous
#5C1453 #5C142F #5C1D14
triadic
#5C142F #2F5C14 #142F5C
tetradic
#5C142F #535C14 #145C41 #1D145C
square
#5C142F #535C14 #145C41 #1D145C
split-complementary
#5C142F #145C1D #14535C
monochromatic
#19050D #2A0915 #5C142F #8E1F49 #C12A62

Accessibility & contrast

On white

13.16
#5C142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C142F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C142F#FFFFFF#000000##FFFFFF
##5C142F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#64081F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c142f;
/* rgb */ color: rgb(92, 20, 47);
/* oklch */ color: oklch(32.4% 0.106 2.5);
Tailwind
colors: {
  custom: {
    50: '#8e5967',
    500: '#5c142f',
    950: '#000000',
  },
}
SCSS
$custom: #5c142f;
$custom-light: #8e5967;
$custom-dark: #000000;
JSON
{
  "hex": "#5c142f",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 337.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.10576,
    "h": 2.5
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#5C142F
secondary
#389471
accent
#E7A941
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C142F

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

Preview Lab → · Contrast checker → · Palette generator →

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