#7B1A1F#7B1A1F

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

Color values

HEX#7B1A1F
RGBrgb(123, 26, 31)
HSLhsl(357, 65%, 29%)
HSVhsv(357, 79%, 48%)
CMYKcmyk(0%, 78.9%, 74.8%, 51.8%)
CIE-LABlab(26.88, 41.26, 22.90)
CIE-LCHlch(26.88, 47.19, 29.03°)
OKLaboklab(38.56% 0.1204 0.0523)
OKLCHoklch(38.56% 0.131 23.5)
XYZxyz(8.7861, 5.0500, 1.8082)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A1F #1A7B76
analogous
#7B1A50 #7B1A1F #7B461A
triadic
#7B1A1F #1F7B1A #1A1F7B
tetradic
#7B1A1F #507B1A #1A7B76 #461A7B
square
#7B1A1F #507B1A #1A7B76 #461A7B
split-complementary
#7B1A1F #1A7B46 #1A507B
monochromatic
#190506 #480F12 #7B1A1F #AE252C #D53A42

Accessibility & contrast

On white

10.45
#7B1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A1F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A1F#FFFFFF#000000##FFFFFF
##7B1A1F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a1f;
/* rgb */ color: rgb(123, 26, 31);
/* oklch */ color: oklch(38.6% 0.131 23.5);
Tailwind
colors: {
  custom: {
    50: '#a8605a',
    500: '#7b1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a1f;
$custom-light: #a8605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a1f",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 356.907,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.13127,
    "h": 23.5
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#7B1A1F
secondary
#42AFAA
accent
#E8DF40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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