#5F1431#5F1431

#5F1431 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.109 H 2.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5F1431
RGBrgb(95, 20, 49)
HSLhsl(337, 65%, 23%)
HSVhsv(337, 79%, 37%)
CMYKcmyk(0%, 78.9%, 48.4%, 62.7%)
CIE-LABlab(20.66, 35.67, 1.33)
CIE-LCHlch(20.66, 35.70, 2.14°)
OKLaboklab(33.03% 0.1094 0.0038)
OKLCHoklch(33.03% 0.109 2)
XYZxyz(5.5243, 3.1557, 3.2233)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1431 #145F42
analogous
#5F1456 #5F1431 #5F1D14
triadic
#5F1431 #315F14 #14315F
tetradic
#5F1431 #565F14 #145F42 #1D145F
square
#5F1431 #565F14 #145F42 #1D145F
split-complementary
#5F1431 #145F1D #14565F
monochromatic
#19050D #2C0917 #5F1431 #921F4B #C42965

Accessibility & contrast

On white

12.88
#5F1431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1431
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1431#FFFFFF#000000##FFFFFF
##5F14311.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252832
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#680720
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1431;
/* rgb */ color: rgb(95, 20, 49);
/* oklch */ color: oklch(33.0% 0.109 2.0);
Tailwind
colors: {
  custom: {
    50: '#915968',
    500: '#5f1431',
    950: '#000000',
  },
}
SCSS
$custom: #5f1431;
$custom-light: #915968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1431",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 49
  },
  "hsl": {
    "h": 336.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.10942,
    "h": 2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#5F1431
secondary
#389772
accent
#E8A740
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1431

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

Preview Lab → · Contrast checker → · Palette generator →

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