#7B1812#7B1812

#7B1812 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 28.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7B1812
RGBrgb(123, 24, 18)
HSLhsl(3, 74%, 28%)
HSVhsv(3, 85%, 48%)
CMYKcmyk(0%, 80.5%, 85.4%, 51.8%)
CIE-LABlab(26.47, 41.43, 30.44)
CIE-LCHlch(26.47, 51.41, 36.30°)
OKLaboklab(38.21% 0.118 0.0647)
OKLCHoklch(38.21% 0.135 28.7)
XYZxyz(8.6053, 4.9093, 1.0666)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1812 #12757B
analogous
#7B1240 #7B1812 #7B4D12
triadic
#7B1812 #127B18 #18127B
tetradic
#7B1812 #407B12 #12757B #4D127B
square
#7B1812 #407B12 #12757B #4D127B
split-complementary
#7B1812 #127B4D #12407B
monochromatic
#1B0504 #460E0A #7B1812 #B0221A #E03228

Accessibility & contrast

On white

10.60
#7B1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1812
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1812#FFFFFF#000000##FFFFFF
##7B18121.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#50460D
Tritanopia (blue-blind)
#880018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1812;
/* rgb */ color: rgb(123, 24, 18);
/* oklch */ color: oklch(38.2% 0.135 28.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f51',
    500: '#7b1812',
    950: '#000000',
  },
}
SCSS
$custom: #7b1812;
$custom-light: #aa5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1812",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 3.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.1346,
    "h": 28.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#7B1812
secondary
#38AAB1
accent
#E6F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978

Preview Lab

Preview with #7B1812

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

Preview Lab → · Contrast checker → · Palette generator →

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