#7B1A22#7B1A22

#7B1A22 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.131 H 21.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7B1A22
RGBrgb(123, 26, 34)
HSLhsl(355, 65%, 29%)
HSVhsv(355, 79%, 48%)
CMYKcmyk(0%, 78.9%, 72.4%, 51.8%)
CIE-LABlab(26.92, 41.42, 21.01)
CIE-LCHlch(26.92, 46.44, 26.90°)
OKLaboklab(38.61% 0.1216 0.0487)
OKLCHoklch(38.61% 0.131 21.8)
XYZxyz(8.8275, 5.0666, 2.0262)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A22 #1A7B73
analogous
#7B1A53 #7B1A22 #7B431A
triadic
#7B1A22 #227B1A #1A227B
tetradic
#7B1A22 #537B1A #1A7B73 #431A7B
square
#7B1A22 #537B1A #1A7B73 #431A7B
split-complementary
#7B1A22 #1A7B43 #1A537B
monochromatic
#190507 #480F14 #7B1A22 #AE2530 #D53A47

Accessibility & contrast

On white

10.43
#7B1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A22
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A22#FFFFFF#000000##FFFFFF
##7B1A221.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373221
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#88001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a22;
/* rgb */ color: rgb(123, 26, 34);
/* oklch */ color: oklch(38.6% 0.131 21.8);
Tailwind
colors: {
  custom: {
    50: '#a8605d',
    500: '#7b1a22',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a22;
$custom-light: #a8605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a22",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355.052,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38611,
    "c": 0.13099,
    "h": 21.8
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#7B1A22
secondary
#42AFA6
accent
#E8DA40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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