#5F0F21#5F0F21

#5F0F21 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.112 H 14.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#5F0F21
RGBrgb(95, 15, 33)
HSLhsl(347, 73%, 22%)
HSVhsv(347, 84%, 37%)
CMYKcmyk(0%, 84.2%, 65.3%, 62.7%)
CIE-LABlab(19.58, 36.04, 11.12)
CIE-LCHlch(19.58, 37.71, 17.16°)
OKLaboklab(32.09% 0.1083 0.0272)
OKLCHoklch(32.09% 0.112 14.1)
XYZxyz(5.1652, 2.8851, 1.7235)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F21 #0F5F4D
analogous
#5F0F49 #5F0F21 #5F250F
triadic
#5F0F21 #215F0F #0F215F
tetradic
#5F0F21 #495F0F #0F5F4D #250F5F
square
#5F0F21 #495F0F #0F5F4D #250F5F
split-complementary
#5F0F21 #0F5F25 #0F495F
monochromatic
#1A0409 #2A070F #5F0F21 #941733 #C92046

Accessibility & contrast

On white

13.32
#5F0F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F0F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F21
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F21#FFFFFF#000000##FFFFFF
##5F0F211.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262521
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f21;
/* rgb */ color: rgb(95, 15, 33);
/* oklch */ color: oklch(32.1% 0.112 14.1);
Tailwind
colors: {
  custom: {
    50: '#92575b',
    500: '#5f0f21',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f21;
$custom-light: #92575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f21",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 33
  },
  "hsl": {
    "h": 346.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.11166,
    "h": 14.1
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#5F0F21
secondary
#329881
accent
#EFC638
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0F21

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

Preview Lab → · Contrast checker → · Palette generator →

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