#7A181A#7A181A

#7A181A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.133 H 25.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7A181A
RGBrgb(122, 24, 26)
HSLhsl(359, 67%, 29%)
HSVhsv(359, 80%, 48%)
CMYKcmyk(0%, 80.3%, 78.7%, 52.2%)
CIE-LABlab(26.35, 41.40, 25.43)
CIE-LCHlch(26.35, 48.58, 31.57°)
OKLaboklab(38.11% 0.1198 0.0566)
OKLCHoklch(38.11% 0.133 25.3)
XYZxyz(8.5401, 4.8668, 1.4668)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A181A #187A78
analogous
#7A184B #7A181A #7A4718
triadic
#7A181A #1A7A18 #181A7A
tetradic
#7A181A #4B7A18 #187A78 #47187A
square
#7A181A #4B7A18 #187A78 #47187A
split-complementary
#7A181A #187A47 #184B7A
monochromatic
#1A0505 #470E0F #7A181A #AD2225 #D73538

Accessibility & contrast

On white

10.64
#7A181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A181A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A181A#FFFFFF#000000##FFFFFF
##7A181A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363119
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#87001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a181a;
/* rgb */ color: rgb(122, 24, 26);
/* oklch */ color: oklch(38.1% 0.133 25.3);
Tailwind
colors: {
  custom: {
    50: '#a85f56',
    500: '#7a181a',
    950: '#000000',
  },
}
SCSS
$custom: #7a181a;
$custom-light: #a85f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7a181a",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.1325,
    "h": 25.3
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#7A181A
secondary
#3FAFAC
accent
#EAE73E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7A181A

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

Preview Lab → · Contrast checker → · Palette generator →

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