#5F1339#5F1339

#5F1339 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.114 H 354.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5F1339
RGBrgb(95, 19, 57)
HSLhsl(330, 67%, 22%)
HSVhsv(330, 80%, 37%)
CMYKcmyk(0%, 80%, 40%, 62.7%)
CIE-LABlab(20.81, 36.96, -4.05)
CIE-LCHlch(20.81, 37.18, 353.75°)
OKLaboklab(33.23% 0.1135 -0.0102)
OKLCHoklch(33.23% 0.114 354.9)
XYZxyz(5.6911, 3.1947, 4.1871)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1339 #135F39
analogous
#5F135F #5F1339 #5F1313
triadic
#5F1339 #395F13 #13395F
tetradic
#5F1339 #5F5F13 #135F39 #13135F
square
#5F1339 #5F5F13 #135F39 #13135F
split-complementary
#5F1339 #135F13 #135F5F
monochromatic
#1A050F #2C091A #5F1339 #921D58 #C52776

Accessibility & contrast

On white

12.81
#5F1339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1339
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1339#FFFFFF#000000##FFFFFF
##5F13391.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#670A24
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1339;
/* rgb */ color: rgb(95, 19, 57);
/* oklch */ color: oklch(33.2% 0.114 354.9);
Tailwind
colors: {
  custom: {
    50: '#90596f',
    500: '#5f1339',
    950: '#000000',
  },
}
SCSS
$custom: #5f1339;
$custom-light: #90596f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1339",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 330,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.11391,
    "h": 354.9
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#5F1339
secondary
#379767
accent
#EA943E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1339

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

Preview Lab → · Contrast checker → · Palette generator →

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