#5F1022#5F1022

#5F1022 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 13.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5F1022
RGBrgb(95, 16, 34)
HSLhsl(346, 71%, 22%)
HSVhsv(346, 83%, 37%)
CMYKcmyk(0%, 83.2%, 64.2%, 62.7%)
CIE-LABlab(19.72, 35.78, 10.61)
CIE-LCHlch(19.72, 37.31, 16.51°)
OKLaboklab(32.2% 0.1077 0.0261)
OKLCHoklch(32.2% 0.111 13.6)
XYZxyz(5.1939, 2.9197, 1.8031)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1022 #105F4D
analogous
#5F104A #5F1022 #5F2610
triadic
#5F1022 #225F10 #10225F
tetradic
#5F1022 #4A5F10 #105F4D #26105F
square
#5F1022 #4A5F10 #105F4D #26105F
split-complementary
#5F1022 #105F26 #104A5F
monochromatic
#1A0409 #2B070F #5F1022 #931935 #C82247

Accessibility & contrast

On white

13.26
#5F1022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1022
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1022#FFFFFF#000000##FFFFFF
##5F10221.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262522
Deuteranopia (green-blind)
#3A3620
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1022;
/* rgb */ color: rgb(95, 16, 34);
/* oklch */ color: oklch(32.2% 0.111 13.6);
Tailwind
colors: {
  custom: {
    50: '#92575c',
    500: '#5f1022',
    950: '#000000',
  },
}
SCSS
$custom: #5f1022;
$custom-light: #92575c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1022",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 346.329,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.322,
    "c": 0.11077,
    "h": 13.6
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#5F1022
secondary
#339881
accent
#EEC53A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1022

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

Preview Lab → · Contrast checker → · Palette generator →

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