#7F1616#7F1616

#7F1616 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 26.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7F1616
RGBrgb(127, 22, 22)
HSLhsl(0, 70%, 29%)
HSVhsv(0, 83%, 50%)
CMYKcmyk(0%, 82.7%, 82.7%, 50.2%)
CIE-LABlab(27.14, 43.48, 29.05)
CIE-LCHlch(27.14, 52.29, 33.75°)
OKLaboklab(38.87% 0.1248 0.0628)
OKLCHoklch(38.87% 0.14 26.7)
XYZxyz(9.1853, 5.1453, 1.2684)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1616 #167F7F
analogous
#7F164B #7F1616 #7F4B16
triadic
#7F1616 #167F16 #16167F
tetradic
#7F1616 #4B7F16 #167F7F #4B167F
square
#7F1616 #4B7F16 #167F7F #4B167F
split-complementary
#7F1616 #167F4B #164B7F
monochromatic
#1A0505 #4B0D0D #7F1616 #B31F1F #DC3434

Accessibility & contrast

On white

10.35
#7F1616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1616
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1616#FFFFFF#000000##FFFFFF
##7F16161.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1616;
/* rgb */ color: rgb(127, 22, 22);
/* oklch */ color: oklch(38.9% 0.140 26.7);
Tailwind
colors: {
  custom: {
    50: '#ad5f54',
    500: '#7f1616',
    950: '#000000',
  },
}
SCSS
$custom: #7f1616;
$custom-light: #ad5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1616",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 22
  },
  "hsl": {
    "h": 0,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.13972,
    "h": 26.7
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7F1616
secondary
#3DB4B4
accent
#EDED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1616

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

Preview Lab → · Contrast checker → · Palette generator →

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