#7F161A#7F161A

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

Color values

HEX#7F161A
RGBrgb(127, 22, 26)
HSLhsl(358, 70%, 29%)
HSVhsv(358, 83%, 50%)
CMYKcmyk(0%, 82.7%, 79.5%, 50.2%)
CIE-LABlab(27.19, 43.63, 26.66)
CIE-LCHlch(27.19, 51.13, 31.42°)
OKLaboklab(38.92% 0.1262 0.0589)
OKLCHoklch(38.92% 0.139 25)
XYZxyz(9.2269, 5.1619, 1.4876)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F161A #167F7B
analogous
#7F164F #7F161A #7F4716
triadic
#7F161A #1A7F16 #161A7F
tetradic
#7F161A #4F7F16 #167F7B #47167F
square
#7F161A #4F7F16 #167F7B #47167F
split-complementary
#7F161A #167F47 #164F7F
monochromatic
#1A0505 #4B0D0F #7F161A #B31F25 #DC343A

Accessibility & contrast

On white

10.33
#7F161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F161A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F161A#FFFFFF#000000##FFFFFF
##7F161A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f161a;
/* rgb */ color: rgb(127, 22, 26);
/* oklch */ color: oklch(38.9% 0.139 25.0);
Tailwind
colors: {
  custom: {
    50: '#ac5f57',
    500: '#7f161a',
    950: '#000000',
  },
}
SCSS
$custom: #7f161a;
$custom-light: #ac5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f161a",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 357.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.13925,
    "h": 25
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#7F161A
secondary
#3DB4AF
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F161A

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

Preview Lab → · Contrast checker → · Palette generator →

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