#5F2818#5F2818

#5F2818 is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.1% C 0.085 H 37.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5F2818
RGBrgb(95, 40, 24)
HSLhsl(14, 60%, 23%)
HSVhsv(14, 75%, 37%)
CMYKcmyk(0%, 57.9%, 74.7%, 62.7%)
CIE-LABlab(23.73, 23.82, 22.30)
CIE-LCHlch(23.73, 32.63, 43.10°)
OKLaboklab(35.15% 0.0678 0.051)
OKLCHoklch(35.15% 0.085 37)
XYZxyz(5.6435, 4.0171, 1.3422)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2818 #184F5F
analogous
#5F182B #5F2818 #5F4B18
triadic
#5F2818 #185F28 #28185F
tetradic
#5F2818 #2B5F18 #184F5F #4B185F
square
#5F2818 #2B5F18 #184F5F #4B185F
split-complementary
#5F2818 #185F4B #182B5F
monochromatic
#180A06 #2E130C #5F2818 #903D24 #C15131

Accessibility & contrast

On white

11.65
#5F2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2818
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2818#FFFFFF#000000##FFFFFF
##5F28181.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#691D24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2818;
/* rgb */ color: rgb(95, 40, 24);
/* oklch */ color: oklch(35.1% 0.085 37.0);
Tailwind
colors: {
  custom: {
    50: '#916355',
    500: '#5f2818',
    950: '#000000',
  },
}
SCSS
$custom: #5f2818;
$custom-light: #916355;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2818",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 13.521,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.08484,
    "h": 37
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#5F2818
secondary
#3D8295
accent
#BFE345
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #5F2818

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

Preview Lab → · Contrast checker → · Palette generator →

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