#7F1412#7F1412

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

Color values

HEX#7F1412
RGBrgb(127, 20, 18)
HSLhsl(1, 75%, 28%)
HSVhsv(1, 86%, 50%)
CMYKcmyk(0%, 84.3%, 85.8%, 50.2%)
CIE-LABlab(26.90, 43.94, 31.14)
CIE-LCHlch(26.90, 53.86, 35.33°)
OKLaboklab(38.68% 0.1254 0.0659)
OKLCHoklch(38.68% 0.142 27.7)
XYZxyz(9.1129, 5.0575, 1.0685)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1412 #127D7F
analogous
#7F1246 #7F1412 #7F4A12
triadic
#7F1412 #127F14 #14127F
tetradic
#7F1412 #467F12 #127D7F #4A127F
square
#7F1412 #467F12 #127D7F #4A127F
split-complementary
#7F1412 #127F4A #12467F
monochromatic
#1B0404 #490C0A #7F1412 #B51C1A #E12E2B

Accessibility & contrast

On white

10.44
#7F1412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1412
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1412#FFFFFF#000000##FFFFFF
##7F14121.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#51480C
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1412;
/* rgb */ color: rgb(127, 20, 18);
/* oklch */ color: oklch(38.7% 0.142 27.7);
Tailwind
colors: {
  custom: {
    50: '#ad5e51',
    500: '#7f1412',
    950: '#000000',
  },
}
SCSS
$custom: #7f1412;
$custom-light: #ad5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1412",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 18
  },
  "hsl": {
    "h": 1.101,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.14164,
    "h": 27.7
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#7F1412
secondary
#38B2B5
accent
#EEF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1412

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

Preview Lab → · Contrast checker → · Palette generator →

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