#5F162E#5F162E

#5F162E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.106 H 5.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F162E
RGBrgb(95, 22, 46)
HSLhsl(340, 62%, 23%)
HSVhsv(340, 77%, 37%)
CMYKcmyk(0%, 76.8%, 51.6%, 62.7%)
CIE-LABlab(20.85, 34.57, 3.71)
CIE-LCHlch(20.85, 34.77, 6.12°)
OKLaboklab(33.14% 0.1056 0.0098)
OKLCHoklch(33.14% 0.106 5.3)
XYZxyz(5.4998, 3.2047, 2.9132)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162E #165F47
analogous
#5F1652 #5F162E #5F2216
triadic
#5F162E #2E5F16 #162E5F
tetradic
#5F162E #525F16 #165F47 #22165F
square
#5F162E #525F16 #165F47 #22165F
split-complementary
#5F162E #165F22 #16525F
monochromatic
#19060C #2D0A16 #5F162E #912246 #C22D5E

Accessibility & contrast

On white

12.80
#5F162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F162E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162E#FFFFFF#000000##FFFFFF
##5F162E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f162e;
/* rgb */ color: rgb(95, 22, 46);
/* oklch */ color: oklch(33.1% 0.106 5.3);
Tailwind
colors: {
  custom: {
    50: '#915a66',
    500: '#5f162e',
    950: '#000000',
  },
}
SCSS
$custom: #5f162e;
$custom-light: #915a66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162e",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 340.274,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.10606,
    "h": 5.3
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#5F162E
secondary
#3B9678
accent
#E5B042
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F162E

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

Preview Lab → · Contrast checker → · Palette generator →

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