#5F2018#5F2018

#5F2018 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.094 H 29.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#5F2018
RGBrgb(95, 32, 24)
HSLhsl(7, 60%, 23%)
HSVhsv(7, 75%, 37%)
CMYKcmyk(0%, 66.3%, 74.7%, 62.7%)
CIE-LABlab(22.06, 28.17, 20.37)
CIE-LCHlch(22.06, 34.76, 35.87°)
OKLaboklab(33.89% 0.0813 0.0468)
OKLCHoklch(33.89% 0.094 29.9)
XYZxyz(5.4013, 3.5326, 1.2614)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2018 #18575F
analogous
#5F1833 #5F2018 #5F4318
triadic
#5F2018 #185F20 #20185F
tetradic
#5F2018 #335F18 #18575F #43185F
square
#5F2018 #335F18 #18575F #43185F
split-complementary
#5F2018 #185F43 #18335F
monochromatic
#180806 #2E100C #5F2018 #903024 #C14131

Accessibility & contrast

On white

12.31
#5F2018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F2018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2018
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2018#FFFFFF#000000##FFFFFF
##5F20181.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C17
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#69111E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f2018;
/* rgb */ color: rgb(95, 32, 24);
/* oklch */ color: oklch(33.9% 0.094 29.9);
Tailwind
colors: {
  custom: {
    50: '#925f55',
    500: '#5f2018',
    950: '#000000',
  },
}
SCSS
$custom: #5f2018;
$custom-light: #925f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2018",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 6.761,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33887,
    "c": 0.09381,
    "h": 29.9
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#5F2018
secondary
#3D8B95
accent
#D1E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F2018

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

Preview Lab → · Contrast checker → · Palette generator →

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