#7A1E12#7A1E12

#7A1E12 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.128 H 30.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7A1E12
RGBrgb(122, 30, 18)
HSLhsl(7, 74%, 27%)
HSVhsv(7, 85%, 48%)
CMYKcmyk(0%, 75.4%, 85.2%, 52.2%)
CIE-LABlab(27.05, 38.92, 30.91)
CIE-LCHlch(27.05, 49.70, 38.46°)
OKLaboklab(38.6% 0.1103 0.0659)
OKLCHoklch(38.6% 0.128 30.9)
XYZxyz(8.6005, 5.1111, 1.1058)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E12 #126E7A
analogous
#7A123A #7A1E12 #7A5212
triadic
#7A1E12 #127A1E #1E127A
tetradic
#7A1E12 #3A7A12 #126E7A #52127A
square
#7A1E12 #3A7A12 #126E7A #52127A
split-complementary
#7A1E12 #127A52 #123A7A
monochromatic
#1B0704 #45110A #7A1E12 #AF2B1A #DF3C27

Accessibility & contrast

On white

10.39
#7A1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E12
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E12#FFFFFF#000000##FFFFFF
##7A1E121.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3310
Deuteranopia (green-blind)
#51470D
Tritanopia (blue-blind)
#87001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1e12;
/* rgb */ color: rgb(122, 30, 18);
/* oklch */ color: oklch(38.6% 0.128 30.9);
Tailwind
colors: {
  custom: {
    50: '#a96151',
    500: '#7a1e12',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e12;
$custom-light: #a96151;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e12",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 6.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.12846,
    "h": 30.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#7A1E12
secondary
#38A2B0
accent
#DBF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7A1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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