#7F1422#7F1422

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

Color values

HEX#7F1422
RGBrgb(127, 20, 34)
HSLhsl(352, 73%, 29%)
HSVhsv(352, 84%, 50%)
CMYKcmyk(0%, 84.3%, 73.2%, 50.2%)
CIE-LABlab(27.10, 44.56, 21.42)
CIE-LCHlch(27.10, 49.44, 25.67°)
OKLaboklab(38.89% 0.1311 0.0494)
OKLCHoklch(38.89% 0.14 20.6)
XYZxyz(9.2924, 5.1293, 2.0138)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1422 #147F71
analogous
#7F1458 #7F1422 #7F3C14
triadic
#7F1422 #227F14 #14227F
tetradic
#7F1422 #587F14 #147F71 #3C147F
square
#7F1422 #587F14 #147F71 #3C147F
split-complementary
#7F1422 #147F3C #14587F
monochromatic
#1A0407 #4A0C14 #7F1422 #B41C30 #DE2F46

Accessibility & contrast

On white

10.37
#7F1422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1422
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1422#FFFFFF#000000##FFFFFF
##7F14221.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1422;
/* rgb */ color: rgb(127, 20, 34);
/* oklch */ color: oklch(38.9% 0.140 20.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e5d',
    500: '#7f1422',
    950: '#000000',
  },
}
SCSS
$custom: #7f1422;
$custom-light: #ac5e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1422",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 34
  },
  "hsl": {
    "h": 352.15,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.14007,
    "h": 20.6
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#7F1422
secondary
#3BB4A4
accent
#EFD838
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1422

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

Preview Lab → · Contrast checker → · Palette generator →

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