#5F1523#5F1523

#5F1523 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.106 H 14.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5F1523
RGBrgb(95, 21, 35)
HSLhsl(349, 64%, 23%)
HSVhsv(349, 78%, 37%)
CMYKcmyk(0%, 77.9%, 63.2%, 62.7%)
CIE-LABlab(20.41, 34.00, 10.82)
CIE-LCHlch(20.41, 35.68, 17.66°)
OKLaboklab(32.72% 0.1021 0.0267)
OKLCHoklch(32.72% 0.106 14.6)
XYZxyz(5.2914, 3.0913, 1.9078)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1523 #155F51
analogous
#5F1548 #5F1523 #5F2C15
triadic
#5F1523 #235F15 #15235F
tetradic
#5F1523 #485F15 #155F51 #2C155F
square
#5F1523 #485F15 #155F51 #2C155F
split-complementary
#5F1523 #155F2C #15485F
monochromatic
#190609 #2D0A11 #5F1523 #912035 #C32B48

Accessibility & contrast

On white

12.98
#5F1523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1523
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1523#FFFFFF#000000##FFFFFF
##5F15231.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292723
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#69021B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1523;
/* rgb */ color: rgb(95, 21, 35);
/* oklch */ color: oklch(32.7% 0.106 14.6);
Tailwind
colors: {
  custom: {
    50: '#92595d',
    500: '#5f1523',
    950: '#000000',
  },
}
SCSS
$custom: #5f1523;
$custom-light: #92595d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1523",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 35
  },
  "hsl": {
    "h": 348.649,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32716,
    "c": 0.10556,
    "h": 14.6
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#5F1523
secondary
#3A9685
accent
#E7C741
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1523

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

Preview Lab → · Contrast checker → · Palette generator →

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