#7B1A26#7B1A26

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

Color values

HEX#7B1A26
RGBrgb(123, 26, 38)
HSLhsl(353, 65%, 29%)
HSVhsv(353, 79%, 48%)
CMYKcmyk(0%, 78.9%, 69.1%, 51.8%)
CIE-LABlab(26.99, 41.64, 18.46)
CIE-LCHlch(26.99, 45.55, 23.90°)
OKLaboklab(38.68% 0.1233 0.0436)
OKLCHoklch(38.68% 0.131 19.5)
XYZxyz(8.8886, 5.0910, 2.3480)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A26 #1A7B6F
analogous
#7B1A57 #7B1A26 #7B3F1A
triadic
#7B1A26 #267B1A #1A267B
tetradic
#7B1A26 #577B1A #1A7B6F #3F1A7B
square
#7B1A26 #577B1A #1A7B6F #3F1A7B
split-complementary
#7B1A26 #1A7B3F #1A577B
monochromatic
#190508 #480F16 #7B1A26 #AE2536 #D53A4D

Accessibility & contrast

On white

10.41
#7B1A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A26
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A26#FFFFFF#000000##FFFFFF
##7B1A261.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1a26;
/* rgb */ color: rgb(123, 26, 38);
/* oklch */ color: oklch(38.7% 0.131 19.5);
Tailwind
colors: {
  custom: {
    50: '#a86060',
    500: '#7b1a26',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a26;
$custom-light: #a86060;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a26",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 352.577,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38684,
    "c": 0.13075,
    "h": 19.5
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#7B1A26
secondary
#42AFA2
accent
#E8D340
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1A26

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

Preview Lab → · Contrast checker → · Palette generator →

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