#7B2812#7B2812

#7B2812 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.0% C 0.120 H 35.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7B2812
RGBrgb(123, 40, 18)
HSLhsl(13, 74%, 28%)
HSVhsv(13, 85%, 48%)
CMYKcmyk(0%, 67.5%, 85.4%, 51.8%)
CIE-LABlab(28.83, 34.96, 32.66)
CIE-LCHlch(28.83, 47.84, 43.05°)
OKLaboklab(39.98% 0.0979 0.0697)
OKLCHoklch(39.98% 0.12 35.4)
XYZxyz(9.0374, 5.7735, 1.2107)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2812 #12657B
analogous
#7B1231 #7B2812 #7B5C12
triadic
#7B2812 #127B28 #28127B
tetradic
#7B2812 #317B12 #12657B #5C127B
square
#7B2812 #317B12 #12657B #5C127B
split-complementary
#7B2812 #127B5C #12317B
monochromatic
#1B0904 #46170A #7B2812 #B0391A #E04E28

Accessibility & contrast

On white

9.75
#7B2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2812
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2812#FFFFFF#000000##FFFFFF
##7B28121.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380E
Deuteranopia (green-blind)
#544B0E
Tritanopia (blue-blind)
#881024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2812;
/* rgb */ color: rgb(123, 40, 18);
/* oklch */ color: oklch(40.0% 0.120 35.4);
Tailwind
colors: {
  custom: {
    50: '#a96652',
    500: '#7b2812',
    950: '#000000',
  },
}
SCSS
$custom: #7b2812;
$custom-light: #a96652;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2812",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.12017,
    "h": 35.4
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7B2812
secondary
#3898B1
accent
#CAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2812

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

Preview Lab → · Contrast checker → · Palette generator →

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