#7F1311#7F1311

#7F1311 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 27.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7F1311
RGBrgb(127, 19, 17)
HSLhsl(1, 76%, 28%)
HSVhsv(1, 87%, 50%)
CMYKcmyk(0%, 85%, 86.6%, 50.2%)
CIE-LABlab(26.79, 44.19, 31.61)
CIE-LCHlch(26.79, 54.33, 35.58°)
OKLaboklab(38.6% 0.126 0.0665)
OKLCHoklch(38.6% 0.142 27.8)
XYZxyz(9.0876, 5.0197, 1.0206)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1311 #117D7F
analogous
#7F1146 #7F1311 #7F4A11
triadic
#7F1311 #117F13 #13117F
tetradic
#7F1311 #467F11 #117D7F #4A117F
square
#7F1311 #467F11 #117D7F #4A117F
split-complementary
#7F1311 #117F4A #11467F
monochromatic
#1B0404 #490B0A #7F1311 #B51B18 #E22C28

Accessibility & contrast

On white

10.48
#7F1311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1311
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1311#FFFFFF#000000##FFFFFF
##7F13111.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#51480B
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1311;
/* rgb */ color: rgb(127, 19, 17);
/* oklch */ color: oklch(38.6% 0.142 27.8);
Tailwind
colors: {
  custom: {
    50: '#ad5e50',
    500: '#7f1311',
    950: '#000000',
  },
}
SCSS
$custom: #7f1311;
$custom-light: #ad5e50;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1311",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 17
  },
  "hsl": {
    "h": 1.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.14243,
    "h": 27.8
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#7F1311
secondary
#37B3B5
accent
#EFF335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1311

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

Preview Lab → · Contrast checker → · Palette generator →

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