#5F1A41#5F1A41

#5F1A41 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.3% C 0.109 H 349.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5F1A41
RGBrgb(95, 26, 65)
HSLhsl(326, 57%, 24%)
HSVhsv(326, 73%, 37%)
CMYKcmyk(0%, 72.6%, 31.6%, 62.7%)
CIE-LABlab(22.14, 35.17, -7.58)
CIE-LCHlch(22.14, 35.98, 347.84°)
OKLaboklab(34.31% 0.1071 -0.0198)
OKLCHoklch(34.31% 0.109 349.5)
XYZxyz(6.0431, 3.5540, 5.3677)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1A41 #1A5F38
analogous
#5A1A5F #5F1A41 #5F1A1E
triadic
#5F1A41 #415F1A #1A415F
tetradic
#5F1A41 #5F5A1A #1A5F38 #1A1E5F
square
#5F1A41 #5F5A1A #1A5F38 #1A1E5F
split-complementary
#5F1A41 #1E5F1A #1A5F5A
monochromatic
#180710 #2F0D20 #5F1A41 #8F2762 #BF3483

Accessibility & contrast

On white

12.28
#5F1A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F1A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1A41
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1A41#FFFFFF#000000##FFFFFF
##5F1A411.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D42
Deuteranopia (green-blind)
#38393F
Tritanopia (blue-blind)
#66172B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1a41;
/* rgb */ color: rgb(95, 26, 65);
/* oklch */ color: oklch(34.3% 0.109 349.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c75',
    500: '#5f1a41',
    950: '#000000',
  },
}
SCSS
$custom: #5f1a41;
$custom-light: #8f5c75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1a41",
  "rgb": {
    "r": 95,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 326.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34313,
    "c": 0.10888,
    "h": 349.5
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#5F1A41
secondary
#409565
accent
#E08A48
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1A41

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

Preview Lab → · Contrast checker → · Palette generator →

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