#7B1A1E#7B1A1E

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

Color values

HEX#7B1A1E
RGBrgb(123, 26, 30)
HSLhsl(358, 65%, 29%)
HSVhsv(358, 79%, 48%)
CMYKcmyk(0%, 78.9%, 75.6%, 51.8%)
CIE-LABlab(26.86, 41.22, 23.52)
CIE-LCHlch(26.86, 47.46, 29.72°)
OKLaboklab(38.55% 0.12 0.0534)
OKLCHoklch(38.55% 0.131 24)
XYZxyz(8.7731, 5.0448, 1.7399)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A1E #1A7B77
analogous
#7B1A4F #7B1A1E #7B471A
triadic
#7B1A1E #1E7B1A #1A1E7B
tetradic
#7B1A1E #4F7B1A #1A7B77 #471A7B
square
#7B1A1E #4F7B1A #1A7B77 #471A7B
split-complementary
#7B1A1E #1A7B47 #1A4F7B
monochromatic
#190506 #480F12 #7B1A1E #AE252A #D53A40

Accessibility & contrast

On white

10.46
#7B1A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A1E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A1E#FFFFFF#000000##FFFFFF
##7B1A1E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1a1e;
/* rgb */ color: rgb(123, 26, 30);
/* oklch */ color: oklch(38.5% 0.131 24.0);
Tailwind
colors: {
  custom: {
    50: '#a9605a',
    500: '#7b1a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a1e;
$custom-light: #a9605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a1e",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 30
  },
  "hsl": {
    "h": 357.526,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.13138,
    "h": 24
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#7B1A1E
secondary
#42AFAB
accent
#E8E140
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B1A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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