#5F222E#5F222E

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

Color values

HEX#5F222E
RGBrgb(95, 34, 46)
HSLhsl(348, 47%, 25%)
HSVhsv(348, 64%, 37%)
CMYKcmyk(0%, 64.2%, 51.6%, 62.7%)
CIE-LABlab(22.91, 28.95, 6.63)
CIE-LCHlch(22.91, 29.70, 12.90°)
OKLaboklab(34.68% 0.0877 0.0171)
OKLCHoklch(34.68% 0.089 11)
XYZxyz(5.7849, 3.7749, 3.0082)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F222E #225F53
analogous
#5F224C #5F222E #5F3422
triadic
#5F222E #2E5F22 #222E5F
tetradic
#5F222E #4C5F22 #225F53 #34225F
square
#5F222E #4C5F22 #225F53 #34225F
split-complementary
#5F222E #225F34 #224C5F
monochromatic
#17080B #321218 #5F222E #8C3244 #B9425A

Accessibility & contrast

On white

11.97
#5F222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F222E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F222E#FFFFFF#000000##FFFFFF
##5F222E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#3F3B2D
Tritanopia (blue-blind)
#681927
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f222e;
/* rgb */ color: rgb(95, 34, 46);
/* oklch */ color: oklch(34.7% 0.089 11.0);
Tailwind
colors: {
  custom: {
    50: '#906066',
    500: '#5f222e',
    950: '#000000',
  },
}
SCSS
$custom: #5f222e;
$custom-light: #906066;
$custom-dark: #000000;
JSON
{
  "hex": "#5f222e",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 348.197,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34676,
    "c": 0.08936,
    "h": 11
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#5F222E
secondary
#4A9385
accent
#D7BD51
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0505
muted
#7E797A

Preview Lab

Preview with #5F222E

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

Preview Lab → · Contrast checker → · Palette generator →

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