#7A1A22#7A1A22

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

Color values

HEX#7A1A22
RGBrgb(122, 26, 34)
HSLhsl(355, 65%, 29%)
HSVhsv(355, 79%, 48%)
CMYKcmyk(0%, 78.7%, 72.1%, 52.2%)
CIE-LABlab(26.72, 41.09, 20.71)
CIE-LCHlch(26.72, 46.01, 26.75°)
OKLaboklab(38.42% 0.1207 0.0481)
OKLCHoklch(38.42% 0.13 21.7)
XYZxyz(8.6851, 4.9932, 2.0195)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A22 #1A7A72
analogous
#7A1A52 #7A1A22 #7A421A
triadic
#7A1A22 #227A1A #1A227A
tetradic
#7A1A22 #527A1A #1A7A72 #421A7A
square
#7A1A22 #527A1A #1A7A72 #421A7A
split-complementary
#7A1A22 #1A7A42 #1A527A
monochromatic
#190507 #480F14 #7A1A22 #AC2530 #D53946

Accessibility & contrast

On white

10.51
#7A1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A22
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A22#FFFFFF#000000##FFFFFF
##7A1A221.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363221
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1a22;
/* rgb */ color: rgb(122, 26, 34);
/* oklch */ color: oklch(38.4% 0.130 21.7);
Tailwind
colors: {
  custom: {
    50: '#a7605d',
    500: '#7a1a22',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a22;
$custom-light: #a7605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a22",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.12993,
    "h": 21.7
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#7A1A22
secondary
#41AEA5
accent
#E8DA40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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