#5F1124#5F1124

#5F1124 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.110 H 12.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5F1124
RGBrgb(95, 17, 36)
HSLhsl(345, 70%, 22%)
HSVhsv(345, 82%, 37%)
CMYKcmyk(0%, 82.1%, 62.1%, 62.7%)
CIE-LABlab(19.89, 35.58, 9.42)
CIE-LCHlch(19.89, 36.81, 14.83°)
OKLaboklab(32.34% 0.1074 0.0234)
OKLCHoklch(32.34% 0.11 12.3)
XYZxyz(5.2387, 2.9619, 1.9646)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1124 #115F4C
analogous
#5F114B #5F1124 #5F2511
triadic
#5F1124 #245F11 #11245F
tetradic
#5F1124 #4B5F11 #115F4C #25115F
square
#5F1124 #4B5F11 #115F4C #25115F
split-complementary
#5F1124 #115F25 #114B5F
monochromatic
#1A050A #2B0810 #5F1124 #931A38 #C7244B

Accessibility & contrast

On white

13.19
#5F1124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1124
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1124#FFFFFF#000000##FFFFFF
##5F11241.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262624
Deuteranopia (green-blind)
#3A3622
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1124;
/* rgb */ color: rgb(95, 17, 36);
/* oklch */ color: oklch(32.3% 0.110 12.3);
Tailwind
colors: {
  custom: {
    50: '#92575e',
    500: '#5f1124',
    950: '#000000',
  },
}
SCSS
$custom: #5f1124;
$custom-light: #92575e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1124",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 345.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.10996,
    "h": 12.3
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#5F1124
secondary
#34987F
accent
#ECC13B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1124

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

Preview Lab → · Contrast checker → · Palette generator →

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