#5F232F#5F232F

#5F232F is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.9% C 0.088 H 10.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5F232F
RGBrgb(95, 35, 47)
HSLhsl(348, 46%, 25%)
HSVhsv(348, 63%, 37%)
CMYKcmyk(0%, 63.2%, 50.5%, 62.7%)
CIE-LABlab(23.14, 28.53, 6.26)
CIE-LCHlch(23.14, 29.21, 12.37°)
OKLaboklab(34.85% 0.0865 0.0162)
OKLCHoklch(34.85% 0.088 10.6)
XYZxyz(5.8339, 3.8409, 3.1229)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F232F #235F53
analogous
#5F234D #5F232F #5F3523
triadic
#5F232F #2F5F23 #232F5F
tetradic
#5F232F #4D5F23 #235F53 #35235F
square
#5F232F #4D5F23 #235F53 #35235F
split-complementary
#5F232F #235F35 #234D5F
monochromatic
#16080B #321319 #5F232F #8C3345 #B8445B

Accessibility & contrast

On white

11.88
#5F232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5F232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F232F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F232F#FFFFFF#000000##FFFFFF
##5F232F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#681B28
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f232f;
/* rgb */ color: rgb(95, 35, 47);
/* oklch */ color: oklch(34.9% 0.088 10.6);
Tailwind
colors: {
  custom: {
    50: '#906167',
    500: '#5f232f',
    950: '#000000',
  },
}
SCSS
$custom: #5f232f;
$custom-light: #906167;
$custom-dark: #000000;
JSON
{
  "hex": "#5f232f",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 348,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.08799,
    "h": 10.6
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#5F232F
secondary
#4B9384
accent
#D6BB52
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0506
muted
#7E797A

Preview Lab

Preview with #5F232F

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

Preview Lab → · Contrast checker → · Palette generator →

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