#5F1220#5F1220

#5F1220 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 15.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5F1220
RGBrgb(95, 18, 32)
HSLhsl(349, 68%, 22%)
HSVhsv(349, 81%, 37%)
CMYKcmyk(0%, 81.1%, 66.3%, 62.7%)
CIE-LABlab(19.93, 34.92, 12.29)
CIE-LCHlch(19.93, 37.02, 19.39°)
OKLaboklab(32.34% 0.1045 0.0298)
OKLCHoklch(32.34% 0.109 15.9)
XYZxyz(5.1969, 2.9706, 1.6659)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1220 #125F51
analogous
#5F1247 #5F1220 #5F2B12
triadic
#5F1220 #205F12 #12205F
tetradic
#5F1220 #475F12 #125F51 #2B125F
square
#5F1220 #475F12 #125F51 #2B125F
split-complementary
#5F1220 #125F2B #12475F
monochromatic
#1A0509 #2C080F #5F1220 #921C31 #C62543

Accessibility & contrast

On white

13.17
#5F1220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1220
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1220#FFFFFF#000000##FFFFFF
##5F12201.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1220;
/* rgb */ color: rgb(95, 18, 32);
/* oklch */ color: oklch(32.3% 0.109 15.9);
Tailwind
colors: {
  custom: {
    50: '#92585b',
    500: '#5f1220',
    950: '#000000',
  },
}
SCSS
$custom: #5f1220;
$custom-light: #92585b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1220",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 349.091,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.10868,
    "h": 15.9
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#5F1220
secondary
#369785
accent
#EBCB3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1220

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

Preview Lab → · Contrast checker → · Palette generator →

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