#5F121E#5F121E

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

Color values

HEX#5F121E
RGBrgb(95, 18, 30)
HSLhsl(351, 68%, 22%)
HSVhsv(351, 81%, 37%)
CMYKcmyk(0%, 81.1%, 68.4%, 62.7%)
CIE-LABlab(19.88, 34.78, 13.64)
CIE-LCHlch(19.88, 37.36, 21.40°)
OKLaboklab(32.29% 0.1036 0.0327)
OKLCHoklch(32.29% 0.109 17.5)
XYZxyz(5.1705, 2.9600, 1.5271)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F121E #125F53
analogous
#5F1245 #5F121E #5F2C12
triadic
#5F121E #1E5F12 #121E5F
tetradic
#5F121E #455F12 #125F53 #2C125F
square
#5F121E #455F12 #125F53 #2C125F
split-complementary
#5F121E #125F2C #12455F
monochromatic
#1A0508 #2C080E #5F121E #921C2E #C6253E

Accessibility & contrast

On white

13.19
#5F121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F121E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F121E#FFFFFF#000000##FFFFFF
##5F121E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#3B361C
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f121e;
/* rgb */ color: rgb(95, 18, 30);
/* oklch */ color: oklch(32.3% 0.109 17.5);
Tailwind
colors: {
  custom: {
    50: '#925859',
    500: '#5f121e',
    950: '#000000',
  },
}
SCSS
$custom: #5f121e;
$custom-light: #925859;
$custom-dark: #000000;
JSON
{
  "hex": "#5f121e",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 350.649,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32292,
    "c": 0.10865,
    "h": 17.5
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#5F121E
secondary
#369788
accent
#EBD03D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F121E

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

Preview Lab → · Contrast checker → · Palette generator →

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