#7A181B#7A181B

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

Color values

HEX#7A181B
RGBrgb(122, 24, 27)
HSLhsl(358, 67%, 29%)
HSVhsv(358, 80%, 48%)
CMYKcmyk(0%, 80.3%, 77.9%, 52.2%)
CIE-LABlab(26.36, 41.44, 24.82)
CIE-LCHlch(26.36, 48.30, 30.91°)
OKLaboklab(38.13% 0.1202 0.0556)
OKLCHoklch(38.13% 0.132 24.8)
XYZxyz(8.5515, 4.8713, 1.5267)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A181B #187A77
analogous
#7A184C #7A181B #7A4618
triadic
#7A181B #1B7A18 #181B7A
tetradic
#7A181B #4C7A18 #187A77 #46187A
square
#7A181B #4C7A18 #187A77 #46187A
split-complementary
#7A181B #187A46 #184C7A
monochromatic
#1A0506 #470E10 #7A181B #AD2226 #D7353A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A181B#FFFFFF#000000##FFFFFF
##7A181B1.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)
#36311A
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#87001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a181b;
/* rgb */ color: rgb(122, 24, 27);
/* oklch */ color: oklch(38.1% 0.132 24.8);
Tailwind
colors: {
  custom: {
    50: '#a85f57',
    500: '#7a181b',
    950: '#000000',
  },
}
SCSS
$custom: #7a181b;
$custom-light: #a85f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7a181b",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.163,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38125,
    "c": 0.13238,
    "h": 24.8
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#7A181B
secondary
#3FAFAB
accent
#EAE53E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7A181B

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

Preview Lab → · Contrast checker → · Palette generator →

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