#5E162B#5E162B

#5E162B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.104 H 7.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5E162B
RGBrgb(94, 22, 43)
HSLhsl(343, 62%, 23%)
HSVhsv(343, 77%, 37%)
CMYKcmyk(0%, 76.6%, 54.3%, 63.1%)
CIE-LABlab(20.55, 33.94, 5.37)
CIE-LCHlch(20.55, 34.37, 8.99°)
OKLaboklab(32.85% 0.1034 0.0139)
OKLCHoklch(32.85% 0.104 7.7)
XYZxyz(5.3395, 3.1286, 2.6077)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E162B #165E49
analogous
#5E164F #5E162B #5E2516
triadic
#5E162B #2B5E16 #162B5E
tetradic
#5E162B #4F5E16 #165E49 #25165E
square
#5E162B #4F5E16 #165E49 #25165E
split-complementary
#5E162B #165E25 #164F5E
monochromatic
#19060B #2C0A14 #5E162B #902242 #C12D58

Accessibility & contrast

On white

12.92
#5E162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E162B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E162B#FFFFFF#000000##FFFFFF
##5E162B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#67071F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e162b;
/* rgb */ color: rgb(94, 22, 43);
/* oklch */ color: oklch(32.9% 0.104 7.7);
Tailwind
colors: {
  custom: {
    50: '#905a64',
    500: '#5e162b',
    950: '#000000',
  },
}
SCSS
$custom: #5e162b;
$custom-light: #905a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e162b",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 342.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.1043,
    "h": 7.7
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#5E162B
secondary
#3B957B
accent
#E5B643
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E162B

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

Preview Lab → · Contrast checker → · Palette generator →

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