#5F1839#5F1839

#5F1839 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.107 H 356.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5F1839
RGBrgb(95, 24, 57)
HSLhsl(332, 60%, 23%)
HSVhsv(332, 75%, 37%)
CMYKcmyk(0%, 74.7%, 40%, 62.7%)
CIE-LABlab(21.51, 34.98, -2.99)
CIE-LCHlch(21.51, 35.11, 355.11°)
OKLaboklab(33.75% 0.1072 -0.0074)
OKLCHoklch(33.75% 0.107 356)
XYZxyz(5.7848, 3.3823, 4.2183)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1839 #185F3E
analogous
#5F185C #5F1839 #5F1A18
triadic
#5F1839 #395F18 #18395F
tetradic
#5F1839 #5C5F18 #185F3E #1A185F
square
#5F1839 #5C5F18 #185F3E #1A185F
split-complementary
#5F1839 #185F1A #185C5F
monochromatic
#18060F #2E0C1C #5F1839 #902456 #C13174

Accessibility & contrast

On white

12.53
#5F1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1839
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1839#FFFFFF#000000##FFFFFF
##5F18391.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#393837
Tritanopia (blue-blind)
#671126
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1839;
/* rgb */ color: rgb(95, 24, 57);
/* oklch */ color: oklch(33.8% 0.107 356.0);
Tailwind
colors: {
  custom: {
    50: '#905b6f',
    500: '#5f1839',
    950: '#000000',
  },
}
SCSS
$custom: #5f1839;
$custom-light: #905b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1839",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 332.113,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33751,
    "c": 0.10744,
    "h": 356
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#5F1839
secondary
#3D956C
accent
#E39945
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1839

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

Preview Lab → · Contrast checker → · Palette generator →

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