#5F1338#5F1338

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

Color values

HEX#5F1338
RGBrgb(95, 19, 56)
HSLhsl(331, 67%, 22%)
HSVhsv(331, 80%, 37%)
CMYKcmyk(0%, 80%, 41.1%, 62.7%)
CIE-LABlab(20.77, 36.84, -3.40)
CIE-LCHlch(20.77, 36.99, 354.72°)
OKLaboklab(33.19% 0.1131 -0.0085)
OKLCHoklch(33.19% 0.113 355.7)
XYZxyz(5.6664, 3.1849, 4.0570)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1338 #135F3A
analogous
#5F135E #5F1338 #5F1413
triadic
#5F1338 #385F13 #13385F
tetradic
#5F1338 #5E5F13 #135F3A #14135F
square
#5F1338 #5E5F13 #135F3A #14135F
split-complementary
#5F1338 #135F14 #135E5F
monochromatic
#1A050F #2C091A #5F1338 #921D56 #C52774

Accessibility & contrast

On white

12.83
#5F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1338
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1338#FFFFFF#000000##FFFFFF
##5F13381.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222939
Deuteranopia (green-blind)
#373736
Tritanopia (blue-blind)
#670A23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1338;
/* rgb */ color: rgb(95, 19, 56);
/* oklch */ color: oklch(33.2% 0.113 355.7);
Tailwind
colors: {
  custom: {
    50: '#90596e',
    500: '#5f1338',
    950: '#000000',
  },
}
SCSS
$custom: #5f1338;
$custom-light: #90596e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1338",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 330.789,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.11343,
    "h": 355.7
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#5F1338
secondary
#379768
accent
#EA963E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1338

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

Preview Lab → · Contrast checker → · Palette generator →

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