#7B2312#7B2312

#7B2312 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.4% C 0.125 H 32.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7B2312
RGBrgb(123, 35, 18)
HSLhsl(10, 74%, 28%)
HSVhsv(10, 85%, 48%)
CMYKcmyk(0%, 71.5%, 85.4%, 51.8%)
CIE-LABlab(28.00, 37.21, 31.88)
CIE-LCHlch(28.00, 49.00, 40.59°)
OKLaboklab(39.35% 0.1049 0.068)
OKLCHoklch(39.35% 0.125 32.9)
XYZxyz(8.8796, 5.4580, 1.1581)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2312 #126A7B
analogous
#7B1236 #7B2312 #7B5712
triadic
#7B2312 #127B23 #23127B
tetradic
#7B2312 #367B12 #126A7B #57127B
square
#7B2312 #367B12 #126A7B #57127B
split-complementary
#7B2312 #127B57 #12367B
monochromatic
#1B0804 #46140A #7B2312 #B0321A #E04628

Accessibility & contrast

On white

10.04
#7B2312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B2312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2312
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2312#FFFFFF#000000##FFFFFF
##7B23121.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#53490E
Tritanopia (blue-blind)
#880320
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2312;
/* rgb */ color: rgb(123, 35, 18);
/* oklch */ color: oklch(39.4% 0.125 32.9);
Tailwind
colors: {
  custom: {
    50: '#a96451',
    500: '#7b2312',
    950: '#000000',
  },
}
SCSS
$custom: #7b2312;
$custom-light: #a96451;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2312",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 9.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.12494,
    "h": 32.9
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#7B2312
secondary
#389DB1
accent
#D3F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2312

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

Preview Lab → · Contrast checker → · Palette generator →

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