#7B1B22#7B1B22

#7B1B22 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.130 H 22.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7B1B22
RGBrgb(123, 27, 34)
HSLhsl(356, 64%, 29%)
HSVhsv(356, 78%, 48%)
CMYKcmyk(0%, 78%, 72.4%, 51.8%)
CIE-LABlab(27.05, 41.06, 21.16)
CIE-LCHlch(27.05, 46.19, 27.26°)
OKLaboklab(38.71% 0.1205 0.049)
OKLCHoklch(38.71% 0.13 22.1)
XYZxyz(8.8500, 5.1117, 2.0337)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B22 #1B7B74
analogous
#7B1B52 #7B1B22 #7B441B
triadic
#7B1B22 #227B1B #1B227B
tetradic
#7B1B22 #527B1B #1B7B74 #441B7B
square
#7B1B22 #527B1B #1B7B74 #441B7B
split-complementary
#7B1B22 #1B7B44 #1B527B
monochromatic
#190607 #491014 #7B1B22 #AD2630 #D43C47

Accessibility & contrast

On white

10.39
#7B1B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B22
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B22#FFFFFF#000000##FFFFFF
##7B1B221.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1b22;
/* rgb */ color: rgb(123, 27, 34);
/* oklch */ color: oklch(38.7% 0.130 22.1);
Tailwind
colors: {
  custom: {
    50: '#a8605d',
    500: '#7b1b22',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b22;
$custom-light: #a8605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b22",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 355.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.13007,
    "h": 22.1
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#7B1B22
secondary
#43AFA7
accent
#E7DB41
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1B22

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

Preview Lab → · Contrast checker → · Palette generator →

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