#5F1B41#5F1B41

#5F1B41 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.107 H 349.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#5F1B41
RGBrgb(95, 27, 65)
HSLhsl(326, 56%, 24%)
HSVhsv(326, 72%, 37%)
CMYKcmyk(0%, 71.6%, 31.6%, 62.7%)
CIE-LABlab(22.30, 34.73, -7.34)
CIE-LCHlch(22.30, 35.49, 348.07°)
OKLaboklab(34.43% 0.1057 -0.0191)
OKLCHoklch(34.43% 0.107 349.7)
XYZxyz(6.0657, 3.5991, 5.3753)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B41 #1B5F39
analogous
#5B1B5F #5F1B41 #5F1B1F
triadic
#5F1B41 #415F1B #1B415F
tetradic
#5F1B41 #5F5B1B #1B5F39 #1B1F5F
square
#5F1B41 #5F5B1B #1B5F39 #1B1F5F
split-complementary
#5F1B41 #1F5F1B #1B5F5B
monochromatic
#180710 #2F0D20 #5F1B41 #8F2962 #BE3682

Accessibility & contrast

On white

12.21
#5F1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F1B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1B41
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B41#FFFFFF#000000##FFFFFF
##5F1B411.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E42
Deuteranopia (green-blind)
#383A3F
Tritanopia (blue-blind)
#66182B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1b41;
/* rgb */ color: rgb(95, 27, 65);
/* oklch */ color: oklch(34.4% 0.107 349.7);
Tailwind
colors: {
  custom: {
    50: '#8f5d75',
    500: '#5f1b41',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b41;
$custom-light: #8f5d75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b41",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 326.471,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.10739,
    "h": 349.7
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#5F1B41
secondary
#419566
accent
#DF8B49
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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