#5F0E21#5F0E21

#5F0E21 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.113 H 13.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5F0E21
RGBrgb(95, 14, 33)
HSLhsl(346, 74%, 21%)
HSVhsv(346, 85%, 37%)
CMYKcmyk(0%, 85.3%, 65.3%, 62.7%)
CIE-LABlab(19.46, 36.36, 10.97)
CIE-LCHlch(19.46, 37.98, 16.80°)
OKLaboklab(32% 0.1093 0.0269)
OKLCHoklch(32% 0.113 13.8)
XYZxyz(5.1514, 2.8576, 1.7189)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E21 #0E5F4C
analogous
#5F0E4A #5F0E21 #5F240E
triadic
#5F0E21 #215F0E #0E215F
tetradic
#5F0E21 #4A5F0E #0E5F4C #240E5F
square
#5F0E21 #4A5F0E #0E5F4C #240E5F
split-complementary
#5F0E21 #0E5F24 #0E4A5F
monochromatic
#1B0409 #2A060E #5F0E21 #941634 #CA1E46

Accessibility & contrast

On white

13.36
#5F0E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E21
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E21#FFFFFF#000000##FFFFFF
##5F0E211.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0e21;
/* rgb */ color: rgb(95, 14, 33);
/* oklch */ color: oklch(32.0% 0.113 13.8);
Tailwind
colors: {
  custom: {
    50: '#92565b',
    500: '#5f0e21',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e21;
$custom-light: #92565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e21",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 33
  },
  "hsl": {
    "h": 345.926,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.11258,
    "h": 13.8
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#5F0E21
secondary
#309980
accent
#F1C537
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0E21

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

Preview Lab → · Contrast checker → · Palette generator →

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