#7F1811#7F1811

#7F1811 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 29.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1811
RGBrgb(127, 24, 17)
HSLhsl(4, 76%, 28%)
HSVhsv(4, 87%, 50%)
CMYKcmyk(0%, 81.1%, 86.6%, 50.2%)
CIE-LABlab(27.32, 42.70, 32.09)
CIE-LCHlch(27.32, 53.42, 36.92°)
OKLaboklab(38.99% 0.1213 0.0675)
OKLCHoklch(38.99% 0.139 29.1)
XYZxyz(9.1813, 5.2073, 1.0519)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1811 #11787F
analogous
#7F1141 #7F1811 #7F4F11
triadic
#7F1811 #117F18 #18117F
tetradic
#7F1811 #417F11 #11787F #4F117F
square
#7F1811 #417F11 #11787F #4F117F
split-complementary
#7F1811 #117F4F #11417F
monochromatic
#1B0504 #490E0A #7F1811 #B52218 #E23428

Accessibility & contrast

On white

10.29
#7F1811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1811
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1811#FFFFFF#000000##FFFFFF
##7F18111.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#52490B
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1811;
/* rgb */ color: rgb(127, 24, 17);
/* oklch */ color: oklch(39.0% 0.139 29.1);
Tailwind
colors: {
  custom: {
    50: '#ad5f50',
    500: '#7f1811',
    950: '#000000',
  },
}
SCSS
$custom: #7f1811;
$custom-light: #ad5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1811",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 17
  },
  "hsl": {
    "h": 3.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.13886,
    "h": 29.1
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#7F1811
secondary
#37ADB5
accent
#E7F335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1811

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

Preview Lab → · Contrast checker → · Palette generator →

#7F1811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva