#5E162A#5E162A

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

Color values

HEX#5E162A
RGBrgb(94, 22, 42)
HSLhsl(343, 62%, 23%)
HSVhsv(343, 77%, 37%)
CMYKcmyk(0%, 76.6%, 55.3%, 63.1%)
CIE-LABlab(20.52, 33.85, 6.03)
CIE-LCHlch(20.52, 34.38, 10.11°)
OKLaboklab(32.82% 0.1029 0.0155)
OKLCHoklch(32.82% 0.104 8.6)
XYZxyz(5.3214, 3.1214, 2.5123)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E162A #165E4A
analogous
#5E164E #5E162A #5E2616
triadic
#5E162A #2A5E16 #162A5E
tetradic
#5E162A #4E5E16 #165E4A #26165E
square
#5E162A #4E5E16 #165E4A #26165E
split-complementary
#5E162A #165E26 #164E5E
monochromatic
#19060B #2C0A14 #5E162A #902240 #C12D56

Accessibility & contrast

On white

12.93
#5E162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E162A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E162A#FFFFFF#000000##FFFFFF
##5E162A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#3A3728
Tritanopia (blue-blind)
#67071E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e162a;
/* rgb */ color: rgb(94, 22, 42);
/* oklch */ color: oklch(32.8% 0.104 8.6);
Tailwind
colors: {
  custom: {
    50: '#905a63',
    500: '#5e162a',
    950: '#000000',
  },
}
SCSS
$custom: #5e162a;
$custom-light: #905a63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e162a",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 343.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32823,
    "c": 0.1041,
    "h": 8.6
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#5E162A
secondary
#3B957C
accent
#E5B843
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E162A

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

Preview Lab → · Contrast checker → · Palette generator →

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