#5F1212#5F1212

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

Color values

HEX#5F1212
RGBrgb(95, 18, 18)
HSLhsl(0, 68%, 22%)
HSVhsv(0, 81%, 37%)
CMYKcmyk(0%, 81.1%, 81.1%, 62.7%)
CIE-LABlab(19.68, 34.12, 21.51)
CIE-LCHlch(19.68, 40.34, 32.23°)
OKLaboklab(32.08% 0.0986 0.048)
OKLCHoklch(32.08% 0.11 26)
XYZxyz(5.0454, 2.9100, 0.8682)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1212 #125F5F
analogous
#5F1239 #5F1212 #5F3912
triadic
#5F1212 #125F12 #12125F
tetradic
#5F1212 #395F12 #125F5F #39125F
square
#5F1212 #395F12 #125F5F #39125F
split-complementary
#5F1212 #125F39 #12395F
monochromatic
#1A0505 #2C0808 #5F1212 #921C1C #C62525

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1212#FFFFFF#000000##FFFFFF
##5F12121.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)
#292511
Deuteranopia (green-blind)
#3C360F
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1212;
/* rgb */ color: rgb(95, 18, 18);
/* oklch */ color: oklch(32.1% 0.110 26.0);
Tailwind
colors: {
  custom: {
    50: '#935750',
    500: '#5f1212',
    950: '#000000',
  },
}
SCSS
$custom: #5f1212;
$custom-light: #935750;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1212",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32076,
    "c": 0.10964,
    "h": 26
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#5F1212
secondary
#369797
accent
#EBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1212

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

Preview Lab → · Contrast checker → · Palette generator →

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