#5F121C#5F121C

#5F121C is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.3% C 0.109 H 19.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5F121C
RGBrgb(95, 18, 28)
HSLhsl(352, 68%, 22%)
HSVhsv(352, 81%, 37%)
CMYKcmyk(0%, 81.1%, 70.5%, 62.7%)
CIE-LABlab(19.84, 34.66, 14.98)
CIE-LCHlch(19.84, 37.75, 23.37°)
OKLaboklab(32.25% 0.1027 0.0355)
OKLCHoklch(32.25% 0.109 19.1)
XYZxyz(5.1458, 2.9501, 1.3969)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F121C #125F55
analogous
#5F1243 #5F121C #5F2F12
triadic
#5F121C #1C5F12 #121C5F
tetradic
#5F121C #435F12 #125F55 #2F125F
square
#5F121C #435F12 #125F55 #2F125F
split-complementary
#5F121C #125F2F #12435F
monochromatic
#1A0508 #2C080D #5F121C #921C2B #C6253A

Accessibility & contrast

On white

13.21
#5F121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F121C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F121C#FFFFFF#000000##FFFFFF
##5F121C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261C
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f121c;
/* rgb */ color: rgb(95, 18, 28);
/* oklch */ color: oklch(32.3% 0.109 19.1);
Tailwind
colors: {
  custom: {
    50: '#925857',
    500: '#5f121c',
    950: '#000000',
  },
}
SCSS
$custom: #5f121c;
$custom-light: #925857;
$custom-dark: #000000;
JSON
{
  "hex": "#5f121c",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 352.208,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.1087,
    "h": 19.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5F121C
secondary
#36978B
accent
#EBD43D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F121C

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

Preview Lab → · Contrast checker → · Palette generator →

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