#5E162E#5E162E

#5E162E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.105 H 4.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5E162E
RGBrgb(94, 22, 46)
HSLhsl(340, 62%, 23%)
HSVhsv(340, 77%, 37%)
CMYKcmyk(0%, 76.6%, 51.1%, 63.1%)
CIE-LABlab(20.64, 34.24, 3.39)
CIE-LCHlch(20.64, 34.41, 5.65°)
OKLaboklab(32.95% 0.1046 0.009)
OKLCHoklch(32.95% 0.105 4.9)
XYZxyz(5.3966, 3.1515, 2.9084)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E162E #165E46
analogous
#5E1652 #5E162E #5E2216
triadic
#5E162E #2E5E16 #162E5E
tetradic
#5E162E #525E16 #165E46 #22165E
square
#5E162E #525E16 #165E46 #22165E
split-complementary
#5E162E #165E22 #16525E
monochromatic
#19060C #2C0A16 #5E162E #902246 #C12D5F

Accessibility & contrast

On white

12.88
#5E162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E162E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E162E#FFFFFF#000000##FFFFFF
##5E162E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#670920
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e162e;
/* rgb */ color: rgb(94, 22, 46);
/* oklch */ color: oklch(32.9% 0.105 4.9);
Tailwind
colors: {
  custom: {
    50: '#905a66',
    500: '#5e162e',
    950: '#000000',
  },
}
SCSS
$custom: #5e162e;
$custom-light: #905a66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e162e",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 340,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.10502,
    "h": 4.9
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#5E162E
secondary
#3B9577
accent
#E5AF43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E162E

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

Preview Lab → · Contrast checker → · Palette generator →

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