#5F1337#5F1337

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

Color values

HEX#5F1337
RGBrgb(95, 19, 55)
HSLhsl(332, 67%, 22%)
HSVhsv(332, 80%, 37%)
CMYKcmyk(0%, 80%, 42.1%, 62.7%)
CIE-LABlab(20.73, 36.72, -2.76)
CIE-LCHlch(20.73, 36.82, 355.70°)
OKLaboklab(33.15% 0.1128 -0.0068)
OKLCHoklch(33.15% 0.113 356.5)
XYZxyz(5.6422, 3.1752, 3.9294)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1337 #135F3B
analogous
#5F135D #5F1337 #5F1513
triadic
#5F1337 #375F13 #13375F
tetradic
#5F1337 #5D5F13 #135F3B #15135F
square
#5F1337 #5D5F13 #135F3B #15135F
split-complementary
#5F1337 #135F15 #135D5F
monochromatic
#1A050F #2C0919 #5F1337 #921D55 #C52772

Accessibility & contrast

On white

12.85
#5F1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1337
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1337#FFFFFF#000000##FFFFFF
##5F13371.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#383735
Tritanopia (blue-blind)
#670923
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1337;
/* rgb */ color: rgb(95, 19, 55);
/* oklch */ color: oklch(33.2% 0.113 356.5);
Tailwind
colors: {
  custom: {
    50: '#90596d',
    500: '#5f1337',
    950: '#000000',
  },
}
SCSS
$custom: #5f1337;
$custom-light: #90596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1337",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 331.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33153,
    "c": 0.11297,
    "h": 356.5
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5F1337
secondary
#379769
accent
#EA983E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1337

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

Preview Lab → · Contrast checker → · Palette generator →

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