#5F162B#5F162B

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

Color values

HEX#5F162B
RGBrgb(95, 22, 43)
HSLhsl(343, 62%, 23%)
HSVhsv(343, 77%, 37%)
CMYKcmyk(0%, 76.8%, 54.7%, 62.7%)
CIE-LABlab(20.76, 34.28, 5.69)
CIE-LCHlch(20.76, 34.75, 9.43°)
OKLaboklab(33.04% 0.1044 0.0147)
OKLCHoklch(33.04% 0.105 8)
XYZxyz(5.4427, 3.1819, 2.6126)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162B #165F4A
analogous
#5F164F #5F162B #5F2616
triadic
#5F162B #2B5F16 #162B5F
tetradic
#5F162B #4F5F16 #165F4A #26165F
square
#5F162B #4F5F16 #165F4A #26165F
split-complementary
#5F162B #165F26 #164F5F
monochromatic
#19060B #2D0A15 #5F162B #912241 #C22D58

Accessibility & contrast

On white

12.83
#5F162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F162B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162B#FFFFFF#000000##FFFFFF
##5F162B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3B3729
Tritanopia (blue-blind)
#68071F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f162b;
/* rgb */ color: rgb(95, 22, 43);
/* oklch */ color: oklch(33.0% 0.105 8.0);
Tailwind
colors: {
  custom: {
    50: '#915a64',
    500: '#5f162b',
    950: '#000000',
  },
}
SCSS
$custom: #5f162b;
$custom-light: #915a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162b",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 342.74,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.10538,
    "h": 8
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#5F162B
secondary
#3B967C
accent
#E5B742
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F162B

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

Preview Lab → · Contrast checker → · Palette generator →

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