#7F1416#7F1416

#7F1416 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.141 H 26.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7F1416
RGBrgb(127, 20, 22)
HSLhsl(359, 73%, 29%)
HSVhsv(359, 84%, 50%)
CMYKcmyk(0%, 84.3%, 82.7%, 50.2%)
CIE-LABlab(26.94, 44.06, 28.84)
CIE-LCHlch(26.94, 52.66, 33.20°)
OKLaboklab(38.72% 0.1267 0.0624)
OKLCHoklch(38.72% 0.141 26.2)
XYZxyz(9.1485, 5.0718, 1.2562)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1416 #147F7D
analogous
#7F144C #7F1416 #7F4814
triadic
#7F1416 #167F14 #14167F
tetradic
#7F1416 #4C7F14 #147F7D #48147F
square
#7F1416 #4C7F14 #147F7D #48147F
split-complementary
#7F1416 #147F48 #144C7F
monochromatic
#1A0405 #4A0C0D #7F1416 #B41C1F #DE2F32

Accessibility & contrast

On white

10.43
#7F1416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F1416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1416
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1416#FFFFFF#000000##FFFFFF
##7F14161.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373115
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1416;
/* rgb */ color: rgb(127, 20, 22);
/* oklch */ color: oklch(38.7% 0.141 26.2);
Tailwind
colors: {
  custom: {
    50: '#ad5e54',
    500: '#7f1416',
    950: '#000000',
  },
}
SCSS
$custom: #7f1416;
$custom-light: #ad5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1416",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 22
  },
  "hsl": {
    "h": 358.879,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.14117,
    "h": 26.2
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#7F1416
secondary
#3BB4B2
accent
#EFEC38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1416

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

Preview Lab → · Contrast checker → · Palette generator →

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