#7B1A1B#7B1A1B

#7B1A1B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.132 H 25.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7B1A1B
RGBrgb(123, 26, 27)
HSLhsl(359, 65%, 29%)
HSVhsv(359, 79%, 48%)
CMYKcmyk(0%, 78.9%, 78%, 51.8%)
CIE-LABlab(26.82, 41.08, 25.38)
CIE-LCHlch(26.82, 48.29, 31.71°)
OKLaboklab(38.5% 0.1189 0.0567)
OKLCHoklch(38.5% 0.132 25.5)
XYZxyz(8.7366, 5.0302, 1.5476)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A1B #1A7B7A
analogous
#7B1A4C #7B1A1B #7B4A1A
triadic
#7B1A1B #1B7B1A #1A1B7B
tetradic
#7B1A1B #4C7B1A #1A7B7A #4A1A7B
square
#7B1A1B #4C7B1A #1A7B7A #4A1A7B
split-complementary
#7B1A1B #1A7B4A #1A4C7B
monochromatic
#190506 #480F10 #7B1A1B #AE2526 #D53A3C

Accessibility & contrast

On white

10.47
#7B1A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A1B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A1B#FFFFFF#000000##FFFFFF
##7B1A1B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1a1b;
/* rgb */ color: rgb(123, 26, 27);
/* oklch */ color: oklch(38.5% 0.132 25.5);
Tailwind
colors: {
  custom: {
    50: '#a96057',
    500: '#7b1a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a1b;
$custom-light: #a96057;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a1b",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 359.381,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38502,
    "c": 0.13173,
    "h": 25.5
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#7B1A1B
secondary
#42AFAE
accent
#E8E640
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B1A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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