#5F1841#5F1841

#5F1841 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.112 H 349.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#5F1841
RGBrgb(95, 24, 65)
HSLhsl(325, 60%, 23%)
HSVhsv(325, 75%, 37%)
CMYKcmyk(0%, 74.7%, 31.6%, 62.7%)
CIE-LABlab(21.83, 36.03, -8.04)
CIE-LCHlch(21.83, 36.92, 347.41°)
OKLaboklab(34.09% 0.1097 -0.0211)
OKLCHoklch(34.09% 0.112 349.1)
XYZxyz(6.0004, 3.4685, 5.3535)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1841 #185F36
analogous
#59185F #5F1841 #5F181D
triadic
#5F1841 #415F18 #18415F
tetradic
#5F1841 #5F5918 #185F36 #181D5F
square
#5F1841 #5F5918 #185F36 #181D5F
split-complementary
#5F1841 #1D5F18 #185F59
monochromatic
#180611 #2E0C20 #5F1841 #902462 #C13184

Accessibility & contrast

On white

12.40
#5F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1841
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1841#FFFFFF#000000##FFFFFF
##5F18411.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C42
Deuteranopia (green-blind)
#37393F
Tritanopia (blue-blind)
#66152A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1841;
/* rgb */ color: rgb(95, 24, 65);
/* oklch */ color: oklch(34.1% 0.112 349.1);
Tailwind
colors: {
  custom: {
    50: '#905c75',
    500: '#5f1841',
    950: '#000000',
  },
}
SCSS
$custom: #5f1841;
$custom-light: #905c75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1841",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 325.352,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.11172,
    "h": 349.1
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#5F1841
secondary
#3D9563
accent
#E38845
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1841

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

Preview Lab → · Contrast checker → · Palette generator →

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