#5F1020#5F1020

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

Color values

HEX#5F1020
RGBrgb(95, 16, 32)
HSLhsl(348, 71%, 22%)
HSVhsv(348, 83%, 37%)
CMYKcmyk(0%, 83.2%, 66.3%, 62.7%)
CIE-LABlab(19.67, 35.63, 11.96)
CIE-LCHlch(19.67, 37.58, 18.55°)
OKLaboklab(32.15% 0.1068 0.0291)
OKLCHoklch(32.15% 0.111 15.2)
XYZxyz(5.1659, 2.9085, 1.6556)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1020 #105F4F
analogous
#5F1048 #5F1020 #5F2810
triadic
#5F1020 #205F10 #10205F
tetradic
#5F1020 #485F10 #105F4F #28105F
square
#5F1020 #485F10 #105F4F #28105F
split-complementary
#5F1020 #105F28 #10485F
monochromatic
#1A0409 #2B070E #5F1020 #931932 #C82243

Accessibility & contrast

On white

13.28
#5F1020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1020
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1020#FFFFFF#000000##FFFFFF
##5F10201.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272520
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1020;
/* rgb */ color: rgb(95, 16, 32);
/* oklch */ color: oklch(32.2% 0.111 15.2);
Tailwind
colors: {
  custom: {
    50: '#92575b',
    500: '#5f1020',
    950: '#000000',
  },
}
SCSS
$custom: #5f1020;
$custom-light: #92575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1020",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 347.848,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.11066,
    "h": 15.2
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#5F1020
secondary
#339883
accent
#EEC93A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1020

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

Preview Lab → · Contrast checker → · Palette generator →

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