#7B2212#7B2212

#7B2212 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.126 H 32.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2212
RGBrgb(123, 34, 18)
HSLhsl(9, 74%, 28%)
HSVhsv(9, 85%, 48%)
CMYKcmyk(0%, 72.4%, 85.4%, 51.8%)
CIE-LABlab(27.85, 37.64, 31.73)
CIE-LCHlch(27.85, 49.23, 40.13°)
OKLaboklab(39.24% 0.1062 0.0676)
OKLCHoklch(39.24% 0.126 32.5)
XYZxyz(8.8506, 5.4000, 1.1484)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2212 #126B7B
analogous
#7B1236 #7B2212 #7B5712
triadic
#7B2212 #127B22 #22127B
tetradic
#7B2212 #367B12 #126B7B #57127B
square
#7B2212 #367B12 #126B7B #57127B
split-complementary
#7B2212 #127B57 #12367B
monochromatic
#1B0704 #46130A #7B2212 #B0311A #E04428

Accessibility & contrast

On white

10.10
#7B2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2212
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2212#FFFFFF#000000##FFFFFF
##7B22121.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#88011F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2212;
/* rgb */ color: rgb(123, 34, 18);
/* oklch */ color: oklch(39.2% 0.126 32.5);
Tailwind
colors: {
  custom: {
    50: '#a96351',
    500: '#7b2212',
    950: '#000000',
  },
}
SCSS
$custom: #7b2212;
$custom-light: #a96351;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2212",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 9.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.12589,
    "h": 32.5
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#7B2212
secondary
#389FB1
accent
#D5F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2212

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

Preview Lab → · Contrast checker → · Palette generator →

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