#5F1331#5F1331

#5F1331 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.111 H 1.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5F1331
RGBrgb(95, 19, 49)
HSLhsl(336, 67%, 22%)
HSVhsv(336, 80%, 37%)
CMYKcmyk(0%, 80%, 48.4%, 62.7%)
CIE-LABlab(20.52, 36.05, 1.14)
CIE-LCHlch(20.52, 36.07, 1.81°)
OKLaboklab(32.93% 0.1106 0.0033)
OKLCHoklch(32.93% 0.111 1.7)
XYZxyz(5.5070, 3.1211, 3.2176)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1331 #135F41
analogous
#5F1357 #5F1331 #5F1B13
triadic
#5F1331 #315F13 #13315F
tetradic
#5F1331 #575F13 #135F41 #1B135F
square
#5F1331 #575F13 #135F41 #1B135F
split-complementary
#5F1331 #135F1B #13575F
monochromatic
#1A050D #2C0917 #5F1331 #921D4B #C52766

Accessibility & contrast

On white

12.93
#5F1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1331
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1331#FFFFFF#000000##FFFFFF
##5F13311.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242832
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#680520
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1331;
/* rgb */ color: rgb(95, 19, 49);
/* oklch */ color: oklch(32.9% 0.111 1.7);
Tailwind
colors: {
  custom: {
    50: '#915968',
    500: '#5f1331',
    950: '#000000',
  },
}
SCSS
$custom: #5f1331;
$custom-light: #915968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1331",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 336.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3293,
    "c": 0.11061,
    "h": 1.7
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#5F1331
secondary
#379771
accent
#EAA63E
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1331

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

Preview Lab → · Contrast checker → · Palette generator →

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