#5F1123#5F1123

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

Color values

HEX#5F1123
RGBrgb(95, 17, 35)
HSLhsl(346, 70%, 22%)
HSVhsv(346, 82%, 37%)
CMYKcmyk(0%, 82.1%, 63.2%, 62.7%)
CIE-LABlab(19.87, 35.50, 10.10)
CIE-LCHlch(19.87, 36.91, 15.88°)
OKLaboklab(32.32% 0.107 0.025)
OKLCHoklch(32.32% 0.11 13.1)
XYZxyz(5.2237, 2.9559, 1.8853)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1123 #115F4D
analogous
#5F114A #5F1123 #5F2611
triadic
#5F1123 #235F11 #11235F
tetradic
#5F1123 #4A5F11 #115F4D #26115F
square
#5F1123 #4A5F11 #115F4D #26115F
split-complementary
#5F1123 #115F26 #114A5F
monochromatic
#1A050A #2B0810 #5F1123 #931A36 #C72449

Accessibility & contrast

On white

13.20
#5F1123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1123
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1123#FFFFFF#000000##FFFFFF
##5F11231.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1123;
/* rgb */ color: rgb(95, 17, 35);
/* oklch */ color: oklch(32.3% 0.110 13.1);
Tailwind
colors: {
  custom: {
    50: '#92575d',
    500: '#5f1123',
    950: '#000000',
  },
}
SCSS
$custom: #5f1123;
$custom-light: #92575d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1123",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 346.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.10986,
    "h": 13.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#5F1123
secondary
#349881
accent
#ECC43B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1123

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

Preview Lab → · Contrast checker → · Palette generator →

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