#7B1A1D#7B1A1D

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

Color values

HEX#7B1A1D
RGBrgb(123, 26, 29)
HSLhsl(358, 65%, 29%)
HSVhsv(358, 79%, 48%)
CMYKcmyk(0%, 78.9%, 76.4%, 51.8%)
CIE-LABlab(26.85, 41.17, 24.15)
CIE-LCHlch(26.85, 47.73, 30.39°)
OKLaboklab(38.53% 0.1196 0.0545)
OKLCHoklch(38.53% 0.131 24.5)
XYZxyz(8.7606, 5.0398, 1.6737)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A1D #1A7B78
analogous
#7B1A4E #7B1A1D #7B481A
triadic
#7B1A1D #1D7B1A #1A1D7B
tetradic
#7B1A1D #4E7B1A #1A7B78 #481A7B
square
#7B1A1D #4E7B1A #1A7B78 #481A7B
split-complementary
#7B1A1D #1A7B48 #1A4E7B
monochromatic
#190506 #480F11 #7B1A1D #AE2529 #D53A3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1A1D#FFFFFF#000000##FFFFFF
##7B1A1D1.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)
#37321C
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1a1d;
/* rgb */ color: rgb(123, 26, 29);
/* oklch */ color: oklch(38.5% 0.131 24.5);
Tailwind
colors: {
  custom: {
    50: '#a96059',
    500: '#7b1a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a1d;
$custom-light: #a96059;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a1d",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 29
  },
  "hsl": {
    "h": 358.144,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38531,
    "c": 0.13149,
    "h": 24.5
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#7B1A1D
secondary
#42AFAC
accent
#E8E340
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B1A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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