#7F1716#7F1716

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

Color values

HEX#7F1716
RGBrgb(127, 23, 22)
HSLhsl(1, 70%, 29%)
HSVhsv(1, 83%, 50%)
CMYKcmyk(0%, 81.9%, 82.7%, 50.2%)
CIE-LABlab(27.25, 43.18, 29.16)
CIE-LCHlch(27.25, 52.10, 34.03°)
OKLaboklab(38.96% 0.1239 0.0631)
OKLCHoklch(38.96% 0.139 27)
XYZxyz(9.2047, 5.1842, 1.2749)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1716 #167E7F
analogous
#7F164A #7F1716 #7F4C16
triadic
#7F1716 #167F17 #17167F
tetradic
#7F1716 #4A7F16 #167E7F #4C167F
square
#7F1716 #4A7F16 #167E7F #4C167F
split-complementary
#7F1716 #167F4C #164A7F
monochromatic
#1A0505 #4B0E0D #7F1716 #B3201F #DC3534

Accessibility & contrast

On white

10.31
#7F1716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1716
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1716#FFFFFF#000000##FFFFFF
##7F17161.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1716;
/* rgb */ color: rgb(127, 23, 22);
/* oklch */ color: oklch(39.0% 0.139 27.0);
Tailwind
colors: {
  custom: {
    50: '#ad5f54',
    500: '#7f1716',
    950: '#000000',
  },
}
SCSS
$custom: #7f1716;
$custom-light: #ad5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1716",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 22
  },
  "hsl": {
    "h": 0.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.13898,
    "h": 27
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#7F1716
secondary
#3DB3B4
accent
#ECED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1716

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

Preview Lab → · Contrast checker → · Palette generator →

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