#7F1516#7F1516

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

Color values

HEX#7F1516
RGBrgb(127, 21, 22)
HSLhsl(359, 72%, 29%)
HSVhsv(359, 83%, 50%)
CMYKcmyk(0%, 83.5%, 82.7%, 50.2%)
CIE-LABlab(27.04, 43.78, 28.94)
CIE-LCHlch(27.04, 52.48, 33.47°)
OKLaboklab(38.8% 0.1258 0.0626)
OKLCHoklch(38.8% 0.14 26.5)
XYZxyz(9.1665, 5.1078, 1.2622)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1516 #157F7E
analogous
#7F154B #7F1516 #7F4915
triadic
#7F1516 #167F15 #15167F
tetradic
#7F1516 #4B7F15 #157F7E #49157F
square
#7F1516 #4B7F15 #157F7E #49157F
split-complementary
#7F1516 #157F49 #154B7F
monochromatic
#1A0405 #4A0C0D #7F1516 #B41E1F #DD3133

Accessibility & contrast

On white

10.39
#7F1516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1516
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1516#FFFFFF#000000##FFFFFF
##7F15161.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1516;
/* rgb */ color: rgb(127, 21, 22);
/* oklch */ color: oklch(38.8% 0.140 26.5);
Tailwind
colors: {
  custom: {
    50: '#ad5e54',
    500: '#7f1516',
    950: '#000000',
  },
}
SCSS
$custom: #7f1516;
$custom-light: #ad5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1516",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 22
  },
  "hsl": {
    "h": 359.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.14046,
    "h": 26.5
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#7F1516
secondary
#3CB4B3
accent
#EEED39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1516

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

Preview Lab → · Contrast checker → · Palette generator →

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