#5D0F1F#5D0F1F

#5D0F1F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.109 H 15.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#5D0F1F
RGBrgb(93, 15, 31)
HSLhsl(348, 72%, 21%)
HSVhsv(348, 84%, 36%)
CMYKcmyk(0%, 83.9%, 66.7%, 63.5%)
CIE-LABlab(19.09, 35.25, 11.82)
CIE-LCHlch(19.09, 37.18, 18.53°)
OKLaboklab(31.64% 0.1056 0.0287)
OKLCHoklch(31.64% 0.109 15.2)
XYZxyz(4.9329, 2.7685, 1.5707)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F1F #0F5D4D
analogous
#5D0F46 #5D0F1F #5D260F
triadic
#5D0F1F #1F5D0F #0F1F5D
tetradic
#5D0F1F #465D0F #0F5D4D #260F5D
square
#5D0F1F #465D0F #0F5D4D #260F5D
split-complementary
#5D0F1F #0F5D26 #0F465D
monochromatic
#1A0409 #28060D #5D0F1F #921731 #C62042

Accessibility & contrast

On white

13.52
#5D0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5D0F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F1F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F1F#FFFFFF#000000##FFFFFF
##5D0F1F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5d0f1f;
/* rgb */ color: rgb(93, 15, 31);
/* oklch */ color: oklch(31.6% 0.109 15.2);
Tailwind
colors: {
  custom: {
    50: '#91565a',
    500: '#5d0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f1f;
$custom-light: #91565a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f1f",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 347.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31635,
    "c": 0.10945,
    "h": 15.2
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#5D0F1F
secondary
#319682
accent
#EFCA39
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5D0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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