#5F0C20#5F0C20

#5F0C20 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 14.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#5F0C20
RGBrgb(95, 12, 32)
HSLhsl(346, 78%, 21%)
HSVhsv(346, 87%, 37%)
CMYKcmyk(0%, 87.4%, 66.3%, 62.7%)
CIE-LABlab(19.23, 36.89, 11.37)
CIE-LCHlch(19.23, 38.60, 17.13°)
OKLaboklab(31.82% 0.1108 0.0277)
OKLCHoklch(31.82% 0.114 14)
XYZxyz(5.1120, 2.8009, 1.6377)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C20 #0C5F4B
analogous
#5F0C49 #5F0C20 #5F210C
triadic
#5F0C20 #205F0C #0C205F
tetradic
#5F0C20 #495F0C #0C5F4B #210C5F
square
#5F0C20 #495F0C #0C5F4B #210C5F
split-complementary
#5F0C20 #0C5F21 #0C495F
monochromatic
#1B0309 #29050E #5F0C20 #951332 #CC1A45

Accessibility & contrast

On white

13.46
#5F0C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5F0C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C20
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C20#FFFFFF#000000##FFFFFF
##5F0C201.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252420
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c20;
/* rgb */ color: rgb(95, 12, 32);
/* oklch */ color: oklch(31.8% 0.114 14.0);
Tailwind
colors: {
  custom: {
    50: '#92565b',
    500: '#5f0c20',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c20;
$custom-light: #92565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c20",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 345.542,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.11425,
    "h": 14
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#5F0C20
secondary
#2D997F
accent
#F4C634
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0C20

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

Preview Lab → · Contrast checker → · Palette generator →

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