#5F1E2E#5F1E2E

#5F1E2E is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.1% C 0.095 H 8.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F1E2E
RGBrgb(95, 30, 46)
HSLhsl(345, 52%, 25%)
HSVhsv(345, 68%, 37%)
CMYKcmyk(0%, 68.4%, 51.6%, 62.7%)
CIE-LABlab(22.16, 30.98, 5.57)
CIE-LCHlch(22.16, 31.47, 10.19°)
OKLaboklab(34.11% 0.0941 0.0144)
OKLCHoklch(34.11% 0.095 8.7)
XYZxyz(5.6772, 3.5594, 2.9723)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1E2E #1E5F4F
analogous
#5F1E4F #5F1E2E #5F2F1E
triadic
#5F1E2E #2E5F1E #1E2E5F
tetradic
#5F1E2E #4F5F1E #1E5F4F #2F1E5F
square
#5F1E2E #4F5F1E #1E5F4F #2F1E5F
split-complementary
#5F1E2E #1E5F2F #1E4F5F
monochromatic
#17070B #300F17 #5F1E2E #8E2D45 #BC3B5B

Accessibility & contrast

On white

12.27
#5F1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1E2E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1E2E#FFFFFF#000000##FFFFFF
##5F1E2E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#3D3A2C
Tritanopia (blue-blind)
#681424
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1e2e;
/* rgb */ color: rgb(95, 30, 46);
/* oklch */ color: oklch(34.1% 0.095 8.7);
Tailwind
colors: {
  custom: {
    50: '#905e66',
    500: '#5f1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1e2e;
$custom-light: #905e66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1e2e",
  "rgb": {
    "r": 95,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 345.231,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.09523,
    "h": 8.7
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#5F1E2E
secondary
#459480
accent
#DBB84C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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