#5F1131#5F1131

#5F1131 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.113 H 1.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5F1131
RGBrgb(95, 17, 49)
HSLhsl(335, 70%, 22%)
HSVhsv(335, 82%, 37%)
CMYKcmyk(0%, 82.1%, 48.4%, 62.7%)
CIE-LABlab(20.27, 36.77, 0.77)
CIE-LCHlch(20.27, 36.78, 1.20°)
OKLaboklab(32.74% 0.1129 0.0024)
OKLCHoklch(32.74% 0.113 1.2)
XYZxyz(5.4746, 3.0563, 3.2068)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1131 #115F3F
analogous
#5F1158 #5F1131 #5F1811
triadic
#5F1131 #315F11 #11315F
tetradic
#5F1131 #585F11 #115F3F #18115F
square
#5F1131 #585F11 #115F3F #18115F
split-complementary
#5F1131 #115F18 #11585F
monochromatic
#1A050D #2B0816 #5F1131 #931A4C #C72467

Accessibility & contrast

On white

13.03
#5F1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1131
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1131#FFFFFF#000000##FFFFFF
##5F11311.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#68031F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1131;
/* rgb */ color: rgb(95, 17, 49);
/* oklch */ color: oklch(32.7% 0.113 1.2);
Tailwind
colors: {
  custom: {
    50: '#915868',
    500: '#5f1131',
    950: '#000000',
  },
}
SCSS
$custom: #5f1131;
$custom-light: #915868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1131",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 335.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32743,
    "c": 0.11289,
    "h": 1.2
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#5F1131
secondary
#34986F
accent
#ECA43B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1131

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

Preview Lab → · Contrast checker → · Palette generator →

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