#5F1139#5F1139

#5F1139 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.116 H 354.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5F1139
RGBrgb(95, 17, 57)
HSLhsl(329, 70%, 22%)
HSVhsv(329, 82%, 37%)
CMYKcmyk(0%, 82.1%, 40%, 62.7%)
CIE-LABlab(20.56, 37.66, -4.42)
CIE-LCHlch(20.56, 37.92, 353.31°)
OKLaboklab(33.05% 0.1157 -0.0112)
OKLCHoklch(33.05% 0.116 354.5)
XYZxyz(5.6587, 3.1299, 4.1762)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1139 #115F37
analogous
#5E115F #5F1139 #5F1112
triadic
#5F1139 #395F11 #11395F
tetradic
#5F1139 #5F5E11 #115F37 #11125F
square
#5F1139 #5F5E11 #115F37 #11125F
split-complementary
#5F1139 #125F11 #115F5E
monochromatic
#1A0510 #2B081A #5F1139 #931A58 #C72477

Accessibility & contrast

On white

12.92
#5F1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1139
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1139#FFFFFF#000000##FFFFFF
##5F11391.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#363737
Tritanopia (blue-blind)
#670823
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1139;
/* rgb */ color: rgb(95, 17, 57);
/* oklch */ color: oklch(33.0% 0.116 354.5);
Tailwind
colors: {
  custom: {
    50: '#90586f',
    500: '#5f1139',
    950: '#000000',
  },
}
SCSS
$custom: #5f1139;
$custom-light: #90586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1139",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 329.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.11624,
    "h": 354.5
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#5F1139
secondary
#349865
accent
#EC923B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1139

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

Preview Lab → · Contrast checker → · Palette generator →

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