#7B1A12#7B1A12

#7B1A12 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.133 H 29.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7B1A12
RGBrgb(123, 26, 18)
HSLhsl(5, 74%, 28%)
HSVhsv(5, 85%, 48%)
CMYKcmyk(0%, 78.9%, 85.4%, 51.8%)
CIE-LABlab(26.72, 40.75, 30.67)
CIE-LCHlch(26.72, 51.00, 36.97°)
OKLaboklab(38.4% 0.1159 0.0653)
OKLCHoklch(38.4% 0.133 29.4)
XYZxyz(8.6480, 4.9948, 1.0809)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A12 #12737B
analogous
#7B123F #7B1A12 #7B4E12
triadic
#7B1A12 #127B1A #1A127B
tetradic
#7B1A12 #3F7B12 #12737B #4E127B
square
#7B1A12 #3F7B12 #12737B #4E127B
split-complementary
#7B1A12 #127B4E #123F7B
monochromatic
#1B0604 #460F0A #7B1A12 #B0251A #E03628

Accessibility & contrast

On white

10.51
#7B1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A12
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A12#FFFFFF#000000##FFFFFF
##7B1A121.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383210
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1a12;
/* rgb */ color: rgb(123, 26, 18);
/* oklch */ color: oklch(38.4% 0.133 29.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f51',
    500: '#7b1a12',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a12;
$custom-light: #aa5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a12",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 4.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38395,
    "c": 0.13298,
    "h": 29.4
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#7B1A12
secondary
#38A8B1
accent
#E3F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978

Preview Lab

Preview with #7B1A12

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

Preview Lab → · Contrast checker → · Palette generator →

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