#5F120D#5F120D

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

Color values

HEX#5F120D
RGBrgb(95, 18, 13)
HSLhsl(4, 76%, 21%)
HSVhsv(4, 86%, 37%)
CMYKcmyk(0%, 81.1%, 86.3%, 62.7%)
CIE-LABlab(19.62, 33.92, 24.16)
CIE-LCHlch(19.62, 41.65, 35.46°)
OKLaboklab(32.01% 0.0968 0.053)
OKLCHoklch(32.01% 0.11 28.7)
XYZxyz(5.0089, 2.8954, 0.6758)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F120D #0D5A5F
analogous
#5F0D31 #5F120D #5F3B0D
triadic
#5F120D #0D5F12 #120D5F
tetradic
#5F120D #315F0D #0D5A5F #3B0D5F
square
#5F120D #315F0D #0D5A5F #3B0D5F
split-complementary
#5F120D #0D5F3B #0D315F
monochromatic
#1B0504 #290806 #5F120D #951C14 #CB261C

Accessibility & contrast

On white

13.30
#5F120D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F120D
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F120D#FFFFFF#000000##FFFFFF
##5F120D1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250B
Deuteranopia (green-blind)
#3D3609
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f120d;
/* rgb */ color: rgb(95, 18, 13);
/* oklch */ color: oklch(32.0% 0.110 28.7);
Tailwind
colors: {
  custom: {
    50: '#94574d',
    500: '#5f120d',
    950: '#000000',
  },
}
SCSS
$custom: #5f120d;
$custom-light: #94574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f120d",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 13
  },
  "hsl": {
    "h": 3.659,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.11037,
    "h": 28.7
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#5F120D
secondary
#2F9399
accent
#E7F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5F120D

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

Preview Lab → · Contrast checker → · Palette generator →

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