#7A1A1F#7A1A1F

#7A1A1F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.130 H 23.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7A1A1F
RGBrgb(122, 26, 31)
HSLhsl(357, 65%, 29%)
HSVhsv(357, 79%, 48%)
CMYKcmyk(0%, 78.7%, 74.6%, 52.2%)
CIE-LABlab(26.67, 40.94, 22.60)
CIE-LCHlch(26.67, 46.76, 28.91°)
OKLaboklab(38.37% 0.1195 0.0517)
OKLCHoklch(38.37% 0.13 23.4)
XYZxyz(8.6437, 4.9766, 1.8015)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A1F #1A7A75
analogous
#7A1A4F #7A1A1F #7A451A
triadic
#7A1A1F #1F7A1A #1A1F7A
tetradic
#7A1A1F #4F7A1A #1A7A75 #451A7A
square
#7A1A1F #4F7A1A #1A7A75 #451A7A
split-complementary
#7A1A1F #1A7A45 #1A4F7A
monochromatic
#190506 #480F12 #7A1A1F #AC252C #D53942

Accessibility & contrast

On white

10.53
#7A1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7A1A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A1F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A1F#FFFFFF#000000##FFFFFF
##7A1A1F1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#4F461C
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1a1f;
/* rgb */ color: rgb(122, 26, 31);
/* oklch */ color: oklch(38.4% 0.130 23.4);
Tailwind
colors: {
  custom: {
    50: '#a8605a',
    500: '#7a1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a1f;
$custom-light: #a8605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a1f",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 356.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38369,
    "c": 0.1302,
    "h": 23.4
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#7A1A1F
secondary
#41AEA9
accent
#E8DF40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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