#5F262A#5F262A

#5F262A is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.2% C 0.083 H 18.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#5F262A
RGBrgb(95, 38, 42)
HSLhsl(356, 43%, 26%)
HSVhsv(356, 60%, 37%)
CMYKcmyk(0%, 60%, 55.8%, 62.7%)
CIE-LABlab(23.63, 26.38, 10.35)
CIE-LCHlch(23.63, 28.34, 21.41°)
OKLaboklab(35.18% 0.0792 0.0259)
OKLCHoklch(35.18% 0.083 18.1)
XYZxyz(5.8308, 3.9870, 2.6525)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F262A #265F5B
analogous
#5F2646 #5F262A #5F3E26
triadic
#5F262A #2A5F26 #262A5F
tetradic
#5F262A #465F26 #265F5B #3E265F
square
#5F262A #465F26 #265F5B #3E265F
split-complementary
#5F262A #265F3E #26465F
monochromatic
#16090A #331517 #5F262A #8B373D #B64951

Accessibility & contrast

On white

11.68
#5F262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F262A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F262A#FFFFFF#000000##FFFFFF
##5F262A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#413D29
Tritanopia (blue-blind)
#681D28
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f262a;
/* rgb */ color: rgb(95, 38, 42);
/* oklch */ color: oklch(35.2% 0.083 18.1);
Tailwind
colors: {
  custom: {
    50: '#906363',
    500: '#5f262a',
    950: '#000000',
  },
}
SCSS
$custom: #5f262a;
$custom-light: #906363;
$custom-dark: #000000;
JSON
{
  "hex": "#5f262a",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 355.789,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3518,
    "c": 0.08329,
    "h": 18.1
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#5F262A
secondary
#4F928D
accent
#D3CA55
background
#F9F5F5
surface
#F1EAEA
border
#CBC6C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5F262A

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

Preview Lab → · Contrast checker → · Palette generator →

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