#7B181A#7B181A

#7B181A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 25.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7B181A
RGBrgb(123, 24, 26)
HSLhsl(359, 67%, 29%)
HSVhsv(359, 80%, 48%)
CMYKcmyk(0%, 80.5%, 78.9%, 51.8%)
CIE-LABlab(26.56, 41.72, 25.73)
CIE-LCHlch(26.56, 49.01, 31.66°)
OKLaboklab(38.31% 0.1207 0.0572)
OKLCHoklch(38.31% 0.134 25.4)
XYZxyz(8.6825, 4.9402, 1.4735)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181A #187B79
analogous
#7B184C #7B181A #7B4818
triadic
#7B181A #1A7B18 #181A7B
tetradic
#7B181A #4C7B18 #187B79 #48187B
square
#7B181A #4C7B18 #187B79 #48187B
split-complementary
#7B181A #187B48 #184C7B
monochromatic
#1A0505 #480E0F #7B181A #AE2225 #D83639

Accessibility & contrast

On white

10.56
#7B181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B181A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B181A#FFFFFF#000000##FFFFFF
##7B181A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b181a;
/* rgb */ color: rgb(123, 24, 26);
/* oklch */ color: oklch(38.3% 0.134 25.4);
Tailwind
colors: {
  custom: {
    50: '#a95f57',
    500: '#7b181a',
    950: '#000000',
  },
}
SCSS
$custom: #7b181a;
$custom-light: #a95f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181a",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.13355,
    "h": 25.4
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B181A

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

Preview Lab → · Contrast checker → · Palette generator →

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