#7B1912#7B1912

#7B1912 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.3% C 0.134 H 29.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7B1912
RGBrgb(123, 25, 18)
HSLhsl(4, 74%, 28%)
HSVhsv(4, 85%, 48%)
CMYKcmyk(0%, 79.7%, 85.4%, 51.8%)
CIE-LABlab(26.60, 41.10, 30.55)
CIE-LCHlch(26.60, 51.21, 36.63°)
OKLaboklab(38.3% 0.117 0.065)
OKLCHoklch(38.3% 0.134 29.1)
XYZxyz(8.6262, 4.9513, 1.0736)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1912 #12747B
analogous
#7B123F #7B1912 #7B4D12
triadic
#7B1912 #127B19 #19127B
tetradic
#7B1912 #3F7B12 #12747B #4D127B
square
#7B1912 #3F7B12 #12747B #4D127B
split-complementary
#7B1912 #127B4D #123F7B
monochromatic
#1B0504 #460E0A #7B1912 #B0241A #E03428

Accessibility & contrast

On white

10.55
#7B1912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B1912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1912
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1912#FFFFFF#000000##FFFFFF
##7B19121.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1912;
/* rgb */ color: rgb(123, 25, 18);
/* oklch */ color: oklch(38.3% 0.134 29.1);
Tailwind
colors: {
  custom: {
    50: '#aa5f51',
    500: '#7b1912',
    950: '#000000',
  },
}
SCSS
$custom: #7b1912;
$custom-light: #aa5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1912",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 18
  },
  "hsl": {
    "h": 4,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.1338,
    "h": 29.1
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#7B1912
secondary
#38A9B1
accent
#E5F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978

Preview Lab

Preview with #7B1912

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

Preview Lab → · Contrast checker → · Palette generator →

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