#5F162D#5F162D

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

Color values

HEX#5F162D
RGBrgb(95, 22, 45)
HSLhsl(341, 62%, 23%)
HSVhsv(341, 77%, 37%)
CMYKcmyk(0%, 76.8%, 52.6%, 62.7%)
CIE-LABlab(20.82, 34.47, 4.37)
CIE-LCHlch(20.82, 34.75, 7.22°)
OKLaboklab(33.11% 0.1052 0.0114)
OKLCHoklch(33.11% 0.106 6.2)
XYZxyz(5.4803, 3.1969, 2.8106)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162D #165F48
analogous
#5F1651 #5F162D #5F2316
triadic
#5F162D #2D5F16 #162D5F
tetradic
#5F162D #515F16 #165F48 #23165F
square
#5F162D #515F16 #165F48 #23165F
split-complementary
#5F162D #165F23 #16515F
monochromatic
#19060C #2D0A15 #5F162D #912245 #C22D5C

Accessibility & contrast

On white

12.81
#5F162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F162D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162D#FFFFFF#000000##FFFFFF
##5F162D1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292D
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#68081F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f162d;
/* rgb */ color: rgb(95, 22, 45);
/* oklch */ color: oklch(33.1% 0.106 6.2);
Tailwind
colors: {
  custom: {
    50: '#915a65',
    500: '#5f162d',
    950: '#000000',
  },
}
SCSS
$custom: #5f162d;
$custom-light: #915a65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162d",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 341.096,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33105,
    "c": 0.10582,
    "h": 6.2
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#5F162D
secondary
#3B9679
accent
#E5B242
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F162D

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

Preview Lab → · Contrast checker → · Palette generator →

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