#5F1136#5F1136

#5F1136 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.115 H 357.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F1136
RGBrgb(95, 17, 54)
HSLhsl(332, 70%, 22%)
HSVhsv(332, 82%, 37%)
CMYKcmyk(0%, 82.1%, 43.2%, 62.7%)
CIE-LABlab(20.44, 37.31, -2.49)
CIE-LCHlch(20.44, 37.40, 356.18°)
OKLaboklab(32.93% 0.1147 -0.0061)
OKLCHoklch(32.93% 0.115 357)
XYZxyz(5.5860, 3.1009, 3.7937)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1136 #115F3A
analogous
#5F115D #5F1136 #5F1311
triadic
#5F1136 #365F11 #11365F
tetradic
#5F1136 #5D5F11 #115F3A #13115F
square
#5F1136 #5D5F11 #115F3A #13115F
split-complementary
#5F1136 #115F13 #115D5F
monochromatic
#1A050F #2B0818 #5F1136 #931A54 #C72471

Accessibility & contrast

On white

12.96
#5F1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1136
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1136#FFFFFF#000000##FFFFFF
##5F11361.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222837
Deuteranopia (green-blind)
#373734
Tritanopia (blue-blind)
#670622
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1136;
/* rgb */ color: rgb(95, 17, 54);
/* oklch */ color: oklch(32.9% 0.115 357.0);
Tailwind
colors: {
  custom: {
    50: '#90586c',
    500: '#5f1136',
    950: '#000000',
  },
}
SCSS
$custom: #5f1136;
$custom-light: #90586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1136",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 331.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.11485,
    "h": 357
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#5F1136
secondary
#349868
accent
#EC983B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1136

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

Preview Lab → · Contrast checker → · Palette generator →

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