#5F252F#5F252F

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

Color values

HEX#5F252F
RGBrgb(95, 37, 47)
HSLhsl(350, 44%, 26%)
HSVhsv(350, 61%, 37%)
CMYKcmyk(0%, 61.1%, 50.5%, 62.7%)
CIE-LABlab(23.55, 27.46, 6.83)
CIE-LCHlch(23.55, 28.29, 13.97°)
OKLaboklab(35.16% 0.0831 0.0176)
OKLCHoklch(35.16% 0.085 11.9)
XYZxyz(5.8944, 3.9619, 3.1431)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F252F #255F55
analogous
#5F254C #5F252F #5F3825
triadic
#5F252F #2F5F25 #252F5F
tetradic
#5F252F #4C5F25 #255F55 #38255F
square
#5F252F #4C5F25 #255F55 #38255F
split-complementary
#5F252F #255F38 #254C5F
monochromatic
#16090B #331419 #5F252F #8B3645 #B7475B

Accessibility & contrast

On white

11.72
#5F252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F252F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F252F#FFFFFF#000000##FFFFFF
##5F252F1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31312F
Deuteranopia (green-blind)
#403C2E
Tritanopia (blue-blind)
#681D29
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f252f;
/* rgb */ color: rgb(95, 37, 47);
/* oklch */ color: oklch(35.2% 0.085 11.9);
Tailwind
colors: {
  custom: {
    50: '#906267',
    500: '#5f252f',
    950: '#000000',
  },
}
SCSS
$custom: #5f252f;
$custom-light: #906267;
$custom-dark: #000000;
JSON
{
  "hex": "#5f252f",
  "rgb": {
    "r": 95,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 349.655,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.08495,
    "h": 11.9
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#5F252F
secondary
#4D9286
accent
#D4BE54
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0506
muted
#7E797A

Preview Lab

Preview with #5F252F

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

Preview Lab → · Contrast checker → · Palette generator →

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