#5F1023#5F1023

#5F1023 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 12.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#5F1023
RGBrgb(95, 16, 35)
HSLhsl(346, 71%, 22%)
HSVhsv(346, 83%, 37%)
CMYKcmyk(0%, 83.2%, 63.2%, 62.7%)
CIE-LABlab(19.74, 35.85, 9.93)
CIE-LCHlch(19.74, 37.20, 15.49°)
OKLaboklab(32.23% 0.1081 0.0246)
OKLCHoklch(32.23% 0.111 12.8)
XYZxyz(5.2085, 2.9256, 1.8802)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1023 #105F4C
analogous
#5F104B #5F1023 #5F2510
triadic
#5F1023 #235F10 #10235F
tetradic
#5F1023 #4B5F10 #105F4C #25105F
square
#5F1023 #4B5F10 #105F4C #25105F
split-complementary
#5F1023 #105F25 #104B5F
monochromatic
#1A040A #2B0710 #5F1023 #931936 #C8224A

Accessibility & contrast

On white

13.25
#5F1023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1023
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1023#FFFFFF#000000##FFFFFF
##5F10231.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262523
Deuteranopia (green-blind)
#3A3621
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1023;
/* rgb */ color: rgb(95, 16, 35);
/* oklch */ color: oklch(32.2% 0.111 12.8);
Tailwind
colors: {
  custom: {
    50: '#92575d',
    500: '#5f1023',
    950: '#000000',
  },
}
SCSS
$custom: #5f1023;
$custom-light: #92575d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1023",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 345.57,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32225,
    "c": 0.11086,
    "h": 12.8
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#5F1023
secondary
#339880
accent
#EEC33A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F1023

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

Preview Lab → · Contrast checker → · Palette generator →

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