#7A1F13#7A1F13

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

Color values

HEX#7A1F13
RGBrgb(122, 31, 19)
HSLhsl(7, 73%, 28%)
HSVhsv(7, 84%, 48%)
CMYKcmyk(0%, 74.6%, 84.4%, 52.2%)
CIE-LABlab(27.20, 38.55, 30.50)
CIE-LCHlch(27.20, 49.16, 38.35°)
OKLaboklab(38.72% 0.1093 0.0654)
OKLCHoklch(38.72% 0.127 30.9)
XYZxyz(8.6346, 5.1659, 1.1584)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F13 #136E7A
analogous
#7A133B #7A1F13 #7A5213
triadic
#7A1F13 #137A1F #1F137A
tetradic
#7A1F13 #3B7A13 #136E7A #52137A
square
#7A1F13 #3B7A13 #136E7A #52137A
split-complementary
#7A1F13 #137A52 #133B7A
monochromatic
#1A0704 #45120B #7A1F13 #AF2C1B #DE3F2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1F13#FFFFFF#000000##FFFFFF
##7A1F131.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)
#3A3311
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1f13;
/* rgb */ color: rgb(122, 31, 19);
/* oklch */ color: oklch(38.7% 0.127 30.9);
Tailwind
colors: {
  custom: {
    50: '#a86252',
    500: '#7a1f13',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f13;
$custom-light: #a86252;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f13",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 6.99,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.12739,
    "h": 30.9
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#7A1F13
secondary
#39A2B0
accent
#DAF038
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7A1F13

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

Preview Lab → · Contrast checker → · Palette generator →

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