#7F1414#7F1414

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

Color values

HEX#7F1414
RGBrgb(127, 20, 20)
HSLhsl(0, 73%, 29%)
HSVhsv(0, 84%, 50%)
CMYKcmyk(0%, 84.3%, 84.3%, 50.2%)
CIE-LABlab(26.92, 44.00, 30.01)
CIE-LCHlch(26.92, 53.26, 34.29°)
OKLaboklab(38.7% 0.126 0.0642)
OKLCHoklch(38.7% 0.141 27)
XYZxyz(9.1300, 5.0643, 1.1585)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1414 #147F7F
analogous
#7F144A #7F1414 #7F4A14
triadic
#7F1414 #147F14 #14147F
tetradic
#7F1414 #4A7F14 #147F7F #4A147F
square
#7F1414 #4A7F14 #147F7F #4A147F
split-complementary
#7F1414 #147F4A #144A7F
monochromatic
#1A0404 #4A0C0C #7F1414 #B41C1C #DE2F2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1414#FFFFFF#000000##FFFFFF
##7F14141.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)
#373112
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1414;
/* rgb */ color: rgb(127, 20, 20);
/* oklch */ color: oklch(38.7% 0.141 27.0);
Tailwind
colors: {
  custom: {
    50: '#ad5e52',
    500: '#7f1414',
    950: '#000000',
  },
}
SCSS
$custom: #7f1414;
$custom-light: #ad5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1414",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 20
  },
  "hsl": {
    "h": 0,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.1414,
    "h": 27
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#7F1414
secondary
#3BB4B4
accent
#EFEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1414

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

Preview Lab → · Contrast checker → · Palette generator →

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