#7F1424#7F1424

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

Color values

HEX#7F1424
RGBrgb(127, 20, 36)
HSLhsl(351, 73%, 29%)
HSVhsv(351, 84%, 50%)
CMYKcmyk(0%, 84.3%, 71.7%, 50.2%)
CIE-LABlab(27.13, 44.66, 20.14)
CIE-LCHlch(27.13, 49.00, 24.27°)
OKLaboklab(38.93% 0.1319 0.0469)
OKLCHoklch(38.93% 0.14 19.6)
XYZxyz(9.3221, 5.1412, 2.1702)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1424 #147F6F
analogous
#7F145A #7F1424 #7F3A14
triadic
#7F1424 #247F14 #14247F
tetradic
#7F1424 #5A7F14 #147F6F #3A147F
square
#7F1424 #5A7F14 #147F6F #3A147F
split-complementary
#7F1424 #147F3A #145A7F
monochromatic
#1A0407 #4A0C15 #7F1424 #B41C33 #DE2F49

Accessibility & contrast

On white

10.36
#7F1424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1424
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1424#FFFFFF#000000##FFFFFF
##7F14241.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1424;
/* rgb */ color: rgb(127, 20, 36);
/* oklch */ color: oklch(38.9% 0.140 19.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e5e',
    500: '#7f1424',
    950: '#000000',
  },
}
SCSS
$custom: #7f1424;
$custom-light: #ac5e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1424",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 36
  },
  "hsl": {
    "h": 351.028,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.13998,
    "h": 19.6
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#7F1424
secondary
#3BB4A2
accent
#EFD438
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1424

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

Preview Lab → · Contrast checker → · Palette generator →

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