#5F1325#5F1325

#5F1325 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.6% C 0.108 H 12.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5F1325
RGBrgb(95, 19, 37)
HSLhsl(346, 67%, 22%)
HSVhsv(346, 80%, 37%)
CMYKcmyk(0%, 80%, 61.1%, 62.7%)
CIE-LABlab(20.18, 34.93, 9.11)
CIE-LCHlch(20.18, 36.10, 14.61°)
OKLaboklab(32.56% 0.1055 0.0227)
OKLCHoklch(32.56% 0.108 12.2)
XYZxyz(5.2866, 3.0330, 2.0570)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1325 #135F4D
analogous
#5F134B #5F1325 #5F2713
triadic
#5F1325 #255F13 #13255F
tetradic
#5F1325 #4B5F13 #135F4D #27135F
square
#5F1325 #4B5F13 #135F4D #27135F
split-complementary
#5F1325 #135F27 #134B5F
monochromatic
#1A050A #2C0911 #5F1325 #921D39 #C5274D

Accessibility & contrast

On white

13.07
#5F1325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1325 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1325
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1325#FFFFFF#000000##FFFFFF
##5F13251.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272725
Deuteranopia (green-blind)
#3B3623
Tritanopia (blue-blind)
#69001B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1325;
/* rgb */ color: rgb(95, 19, 37);
/* oklch */ color: oklch(32.6% 0.108 12.2);
Tailwind
colors: {
  custom: {
    50: '#92585f',
    500: '#5f1325',
    950: '#000000',
  },
}
SCSS
$custom: #5f1325;
$custom-light: #92585f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1325",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 37
  },
  "hsl": {
    "h": 345.789,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.10794,
    "h": 12.2
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#5F1325
secondary
#379780
accent
#EAC13E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1325

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

Preview Lab → · Contrast checker → · Palette generator →

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