#5F1844#5F1844

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

Color values

HEX#5F1844
RGBrgb(95, 24, 68)
HSLhsl(323, 60%, 23%)
HSVhsv(323, 75%, 37%)
CMYKcmyk(0%, 74.7%, 28.4%, 62.7%)
CIE-LABlab(21.96, 36.45, -9.91)
CIE-LCHlch(21.96, 37.78, 344.80°)
OKLaboklab(34.22% 0.1105 -0.0262)
OKLCHoklch(34.22% 0.114 346.7)
XYZxyz(6.0896, 3.5042, 5.8234)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1844 #185F33
analogous
#56185F #5F1844 #5F1820
triadic
#5F1844 #445F18 #18445F
tetradic
#5F1844 #5F5618 #185F33 #18205F
square
#5F1844 #5F5618 #185F33 #18205F
split-complementary
#5F1844 #205F18 #185F56
monochromatic
#180611 #2E0C21 #5F1844 #902467 #C1318A

Accessibility & contrast

On white

12.35
#5F1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1844
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1844#FFFFFF#000000##FFFFFF
##5F18441.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D45
Deuteranopia (green-blind)
#363942
Tritanopia (blue-blind)
#66162B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1844;
/* rgb */ color: rgb(95, 24, 68);
/* oklch */ color: oklch(34.2% 0.114 346.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c78',
    500: '#5f1844',
    950: '#000000',
  },
}
SCSS
$custom: #5f1844;
$custom-light: #8f5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1844",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 322.817,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34224,
    "c": 0.1136,
    "h": 346.7
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#5F1844
secondary
#3D955F
accent
#E38145
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1844

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

Preview Lab → · Contrast checker → · Palette generator →

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