#7A181F#7A181F

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

Color values

HEX#7A181F
RGBrgb(122, 24, 31)
HSLhsl(356, 67%, 29%)
HSVhsv(356, 80%, 48%)
CMYKcmyk(0%, 80.3%, 74.6%, 52.2%)
CIE-LABlab(26.42, 41.62, 22.31)
CIE-LCHlch(26.42, 47.23, 28.19°)
OKLaboklab(38.19% 0.1217 0.051)
OKLCHoklch(38.19% 0.132 22.7)
XYZxyz(8.6010, 4.8911, 1.7873)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A181F #187A73
analogous
#7A1850 #7A181F #7A4218
triadic
#7A181F #1F7A18 #181F7A
tetradic
#7A181F #507A18 #187A73 #42187A
square
#7A181F #507A18 #187A73 #42187A
split-complementary
#7A181F #187A42 #18507A
monochromatic
#1A0506 #470E12 #7A181F #AD222C #D73541

Accessibility & contrast

On white

10.62
#7A181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A181F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A181F#FFFFFF#000000##FFFFFF
##7A181F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#87001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a181f;
/* rgb */ color: rgb(122, 24, 31);
/* oklch */ color: oklch(38.2% 0.132 22.7);
Tailwind
colors: {
  custom: {
    50: '#a85f5a',
    500: '#7a181f',
    950: '#000000',
  },
}
SCSS
$custom: #7a181f;
$custom-light: #a85f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a181f",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 355.714,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.13197,
    "h": 22.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#7A181F
secondary
#3FAFA7
accent
#EADE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A181F

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

Preview Lab → · Contrast checker → · Palette generator →

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