#5F0F23#5F0F23

#5F0F23 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.112 H 12.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5F0F23
RGBrgb(95, 15, 35)
HSLhsl(345, 73%, 22%)
HSVhsv(345, 84%, 37%)
CMYKcmyk(0%, 84.2%, 63.2%, 62.7%)
CIE-LABlab(19.63, 36.18, 9.77)
CIE-LCHlch(19.63, 37.48, 15.11°)
OKLaboklab(32.14% 0.1092 0.0242)
OKLCHoklch(32.14% 0.112 12.5)
XYZxyz(5.1940, 2.8967, 1.8754)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F23 #0F5F4B
analogous
#5F0F4B #5F0F23 #5F230F
triadic
#5F0F23 #235F0F #0F235F
tetradic
#5F0F23 #4B5F0F #0F5F4B #230F5F
square
#5F0F23 #4B5F0F #0F5F4B #230F5F
split-complementary
#5F0F23 #0F5F23 #0F4B5F
monochromatic
#1A040A #2A0710 #5F0F23 #941736 #C9204A

Accessibility & contrast

On white

13.30
#5F0F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F0F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F23
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F23#FFFFFF#000000##FFFFFF
##5F0F231.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262523
Deuteranopia (green-blind)
#3A3521
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f23;
/* rgb */ color: rgb(95, 15, 35);
/* oklch */ color: oklch(32.1% 0.112 12.5);
Tailwind
colors: {
  custom: {
    50: '#92575d',
    500: '#5f0f23',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f23;
$custom-light: #92575d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f23",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 345,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.11183,
    "h": 12.5
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#5F0F23
secondary
#32987F
accent
#EFC238
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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