#5F162F#5F162F

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

Color values

HEX#5F162F
RGBrgb(95, 22, 47)
HSLhsl(339, 62%, 23%)
HSVhsv(339, 77%, 37%)
CMYKcmyk(0%, 76.8%, 50.5%, 62.7%)
CIE-LABlab(20.88, 34.68, 3.05)
CIE-LCHlch(20.88, 34.81, 5.03°)
OKLaboklab(33.17% 0.106 0.0082)
OKLCHoklch(33.17% 0.106 4.4)
XYZxyz(5.5198, 3.2127, 3.0182)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F162F #165F46
analogous
#5F1653 #5F162F #5F2116
triadic
#5F162F #2F5F16 #162F5F
tetradic
#5F162F #535F16 #165F46 #21165F
square
#5F162F #535F16 #165F46 #21165F
split-complementary
#5F162F #165F21 #16535F
monochromatic
#19060C #2D0A16 #5F162F #912248 #C22D60

Accessibility & contrast

On white

12.79
#5F162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F162F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F162F#FFFFFF#000000##FFFFFF
##5F162F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#680920
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f162f;
/* rgb */ color: rgb(95, 22, 47);
/* oklch */ color: oklch(33.2% 0.106 4.4);
Tailwind
colors: {
  custom: {
    50: '#915a67',
    500: '#5f162f',
    950: '#000000',
  },
}
SCSS
$custom: #5f162f;
$custom-light: #915a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f162f",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 339.452,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.10633,
    "h": 4.4
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#5F162F
secondary
#3B9677
accent
#E5AE42
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F162F

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

Preview Lab → · Contrast checker → · Palette generator →

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