#5F1120#5F1120

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

Color values

HEX#5F1120
RGBrgb(95, 17, 32)
HSLhsl(348, 70%, 22%)
HSVhsv(348, 82%, 37%)
CMYKcmyk(0%, 82.1%, 66.3%, 62.7%)
CIE-LABlab(19.80, 35.28, 12.12)
CIE-LCHlch(19.80, 37.31, 18.96°)
OKLaboklab(32.24% 0.1057 0.0295)
OKLCHoklch(32.24% 0.11 15.6)
XYZxyz(5.1810, 2.9388, 1.6607)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1120 #115F50
analogous
#5F1147 #5F1120 #5F2911
triadic
#5F1120 #205F11 #11205F
tetradic
#5F1120 #475F11 #115F50 #29115F
square
#5F1120 #475F11 #115F50 #29115F
split-complementary
#5F1120 #115F29 #11475F
monochromatic
#1A0509 #2B080F #5F1120 #931A31 #C72443

Accessibility & contrast

On white

13.23
#5F1120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1120 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1120
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1120#FFFFFF#000000##FFFFFF
##5F11201.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1120;
/* rgb */ color: rgb(95, 17, 32);
/* oklch */ color: oklch(32.2% 0.110 15.6);
Tailwind
colors: {
  custom: {
    50: '#92575b',
    500: '#5f1120',
    950: '#000000',
  },
}
SCSS
$custom: #5f1120;
$custom-light: #92575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1120",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 32
  },
  "hsl": {
    "h": 348.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32243,
    "c": 0.10968,
    "h": 15.6
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#5F1120
secondary
#349884
accent
#ECCA3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1120

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

Preview Lab → · Contrast checker → · Palette generator →

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