#5F242E#5F242E

#5F242E is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.0% C 0.086 H 12.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5F242E
RGBrgb(95, 36, 46)
HSLhsl(350, 45%, 26%)
HSVhsv(350, 62%, 37%)
CMYKcmyk(0%, 62.1%, 51.6%, 62.7%)
CIE-LABlab(23.31, 27.89, 7.19)
CIE-LCHlch(23.31, 28.80, 14.45°)
OKLaboklab(34.98% 0.0844 0.0184)
OKLCHoklch(34.98% 0.086 12.3)
XYZxyz(5.8438, 3.8926, 3.0278)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F242E #245F55
analogous
#5F244B #5F242E #5F3724
triadic
#5F242E #2E5F24 #242E5F
tetradic
#5F242E #4B5F24 #245F55 #37245F
square
#5F242E #4B5F24 #245F55 #37245F
split-complementary
#5F242E #245F37 #244B5F
monochromatic
#16080B #331319 #5F242E #8B3543 #B84659

Accessibility & contrast

On white

11.81
#5F242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F242E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F242E#FFFFFF#000000##FFFFFF
##5F242E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302E
Deuteranopia (green-blind)
#403C2D
Tritanopia (blue-blind)
#681C28
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f242e;
/* rgb */ color: rgb(95, 36, 46);
/* oklch */ color: oklch(35.0% 0.086 12.3);
Tailwind
colors: {
  custom: {
    50: '#906166',
    500: '#5f242e',
    950: '#000000',
  },
}
SCSS
$custom: #5f242e;
$custom-light: #906166;
$custom-dark: #000000;
JSON
{
  "hex": "#5f242e",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 349.831,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.08637,
    "h": 12.3
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#5F242E
secondary
#4C9387
accent
#D5BF53
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0506
muted
#7E797A

Preview Lab

Preview with #5F242E

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

Preview Lab → · Contrast checker → · Palette generator →

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