#7F1419#7F1419

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

Color values

HEX#7F1419
RGBrgb(127, 20, 25)
HSLhsl(357, 73%, 29%)
HSVhsv(357, 84%, 50%)
CMYKcmyk(0%, 84.3%, 80.3%, 50.2%)
CIE-LABlab(26.97, 44.17, 27.04)
CIE-LCHlch(26.97, 51.79, 31.48°)
OKLaboklab(38.76% 0.1277 0.0594)
OKLCHoklch(38.76% 0.141 25)
XYZxyz(9.1791, 5.0840, 1.4175)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1419 #147F7A
analogous
#7F144F #7F1419 #7F4514
triadic
#7F1419 #197F14 #14197F
tetradic
#7F1419 #4F7F14 #147F7A #45147F
square
#7F1419 #4F7F14 #147F7A #45147F
split-complementary
#7F1419 #147F45 #144F7F
monochromatic
#1A0405 #4A0C0F #7F1419 #B41C23 #DE2F37

Accessibility & contrast

On white

10.41
#7F1419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1419
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1419#FFFFFF#000000##FFFFFF
##7F14191.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1419;
/* rgb */ color: rgb(127, 20, 25);
/* oklch */ color: oklch(38.8% 0.141 25.0);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7f1419',
    950: '#000000',
  },
}
SCSS
$custom: #7f1419;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1419",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 25
  },
  "hsl": {
    "h": 357.196,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.14083,
    "h": 25
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#7F1419
secondary
#3BB4AF
accent
#EFE738
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F1419

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

Preview Lab → · Contrast checker → · Palette generator →

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