#5F1941#5F1941

#5F1941 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.110 H 349.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5F1941
RGBrgb(95, 25, 65)
HSLhsl(326, 58%, 24%)
HSVhsv(326, 74%, 37%)
CMYKcmyk(0%, 73.7%, 31.6%, 62.7%)
CIE-LABlab(21.98, 35.61, -7.81)
CIE-LCHlch(21.98, 36.45, 347.62°)
OKLaboklab(34.2% 0.1084 -0.0204)
OKLCHoklch(34.2% 0.11 349.3)
XYZxyz(6.0214, 3.5105, 5.3605)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1941 #195F37
analogous
#5A195F #5F1941 #5F191E
triadic
#5F1941 #415F19 #19415F
tetradic
#5F1941 #5F5A19 #195F37 #191E5F
square
#5F1941 #5F5A19 #195F37 #191E5F
split-complementary
#5F1941 #1E5F19 #195F5A
monochromatic
#180611 #2F0C20 #5F1941 #8F2662 #C03283

Accessibility & contrast

On white

12.34
#5F1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1941
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1941#FFFFFF#000000##FFFFFF
##5F19411.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D42
Deuteranopia (green-blind)
#37393F
Tritanopia (blue-blind)
#66162A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1941;
/* rgb */ color: rgb(95, 25, 65);
/* oklch */ color: oklch(34.2% 0.110 349.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c75',
    500: '#5f1941',
    950: '#000000',
  },
}
SCSS
$custom: #5f1941;
$custom-light: #8f5c75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1941",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 325.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34198,
    "c": 0.11032,
    "h": 349.3
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#5F1941
secondary
#3F9564
accent
#E28946
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1941

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

Preview Lab → · Contrast checker → · Palette generator →

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