#7A1F12#7A1F12

#7A1F12 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.128 H 31.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1F12
RGBrgb(122, 31, 18)
HSLhsl(8, 74%, 27%)
HSVhsv(8, 85%, 48%)
CMYKcmyk(0%, 74.6%, 85.2%, 52.2%)
CIE-LABlab(27.19, 38.52, 31.05)
CIE-LCHlch(27.19, 49.47, 38.87°)
OKLaboklab(38.71% 0.109 0.0662)
OKLCHoklch(38.71% 0.128 31.3)
XYZxyz(8.6262, 5.1626, 1.1144)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F12 #126D7A
analogous
#7A1239 #7A1F12 #7A5312
triadic
#7A1F12 #127A1F #1F127A
tetradic
#7A1F12 #397A12 #126D7A #53127A
square
#7A1F12 #397A12 #126D7A #53127A
split-complementary
#7A1F12 #127A53 #12397A
monochromatic
#1B0704 #45110A #7A1F12 #AF2D1A #DF3E27

Accessibility & contrast

On white

10.33
#7A1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1F12
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F12#FFFFFF#000000##FFFFFF
##7A1F121.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1f12;
/* rgb */ color: rgb(122, 31, 18);
/* oklch */ color: oklch(38.7% 0.128 31.3);
Tailwind
colors: {
  custom: {
    50: '#a86251',
    500: '#7a1f12',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f12;
$custom-light: #a86251;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f12",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 7.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.12755,
    "h": 31.3
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#7A1F12
secondary
#38A1B0
accent
#DAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7A1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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