#5E162F#5E162F

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

Color values

HEX#5E162F
RGBrgb(94, 22, 47)
HSLhsl(339, 62%, 23%)
HSVhsv(339, 77%, 37%)
CMYKcmyk(0%, 76.6%, 50%, 63.1%)
CIE-LABlab(20.67, 34.35, 2.73)
CIE-LCHlch(20.67, 34.45, 4.54°)
OKLaboklab(32.98% 0.105 0.0074)
OKLCHoklch(32.98% 0.105 4)
XYZxyz(5.4165, 3.1594, 3.0134)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E162F #165E45
analogous
#5E1653 #5E162F #5E2116
triadic
#5E162F #2F5E16 #162F5E
tetradic
#5E162F #535E16 #165E45 #21165E
square
#5E162F #535E16 #165E45 #21165E
split-complementary
#5E162F #165E21 #16535E
monochromatic
#19060C #2C0A16 #5E162F #902248 #C12D61

Accessibility & contrast

On white

12.87
#5E162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E162F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E162F#FFFFFF#000000##FFFFFF
##5E162F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#670A20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e162f;
/* rgb */ color: rgb(94, 22, 47);
/* oklch */ color: oklch(33.0% 0.105 4.0);
Tailwind
colors: {
  custom: {
    50: '#905a67',
    500: '#5e162f',
    950: '#000000',
  },
}
SCSS
$custom: #5e162f;
$custom-light: #905a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e162f",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 339.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.1053,
    "h": 4
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#5E162F
secondary
#3B9576
accent
#E5AD43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E162F

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

Preview Lab → · Contrast checker → · Palette generator →

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