#5F222D#5F222D

#5F222D is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.6% C 0.089 H 12.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5F222D
RGBrgb(95, 34, 45)
HSLhsl(349, 47%, 25%)
HSVhsv(349, 64%, 37%)
CMYKcmyk(0%, 64.2%, 52.6%, 62.7%)
CIE-LABlab(22.89, 28.84, 7.28)
CIE-LCHlch(22.89, 29.75, 14.16°)
OKLaboklab(34.65% 0.0873 0.0186)
OKLCHoklch(34.65% 0.089 12)
XYZxyz(5.7654, 3.7671, 2.9056)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F222D #225F54
analogous
#5F224C #5F222D #5F3522
triadic
#5F222D #2D5F22 #222D5F
tetradic
#5F222D #4C5F22 #225F54 #35225F
square
#5F222D #4C5F22 #225F54 #35225F
split-complementary
#5F222D #225F35 #224C5F
monochromatic
#17080B #321218 #5F222D #8C3242 #B94258

Accessibility & contrast

On white

11.98
#5F222D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5F222D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F222D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F222D#FFFFFF#000000##FFFFFF
##5F222D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2D
Deuteranopia (green-blind)
#3F3B2C
Tritanopia (blue-blind)
#681926
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f222d;
/* rgb */ color: rgb(95, 34, 45);
/* oklch */ color: oklch(34.6% 0.089 12.0);
Tailwind
colors: {
  custom: {
    50: '#906065',
    500: '#5f222d',
    950: '#000000',
  },
}
SCSS
$custom: #5f222d;
$custom-light: #906065;
$custom-dark: #000000;
JSON
{
  "hex": "#5f222d",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 349.18,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34647,
    "c": 0.08924,
    "h": 12
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#5F222D
secondary
#4A9386
accent
#D7BF51
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0505
muted
#7E797A

Preview Lab

Preview with #5F222D

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

Preview Lab → · Contrast checker → · Palette generator →

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