#7B291B#7B291B

#7B291B is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.117 H 32.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7B291B
RGBrgb(123, 41, 27)
HSLhsl(9, 64%, 29%)
HSVhsv(9, 78%, 48%)
CMYKcmyk(0%, 66.7%, 78%, 51.8%)
CIE-LABlab(29.10, 34.84, 27.88)
CIE-LCHlch(29.10, 44.62, 38.67°)
OKLaboklab(40.21% 0.0993 0.0622)
OKLCHoklch(40.21% 0.117 32)
XYZxyz(9.1601, 5.8773, 1.6888)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B291B #1B6D7B
analogous
#7B1B3D #7B291B #7B591B
triadic
#7B291B #1B7B29 #291B7B
tetradic
#7B291B #3D7B1B #1B6D7B #591B7B
square
#7B291B #3D7B1B #1B6D7B #591B7B
split-complementary
#7B291B #1B7B59 #1B3D7B
monochromatic
#190806 #491810 #7B291B #AD3A26 #D4523C

Accessibility & contrast

On white

9.65
#7B291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B291B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B291B#FFFFFF#000000##FFFFFF
##7B291B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#881326
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b291b;
/* rgb */ color: rgb(123, 41, 27);
/* oklch */ color: oklch(40.2% 0.117 32.0);
Tailwind
colors: {
  custom: {
    50: '#a86758',
    500: '#7b291b',
    950: '#000000',
  },
}
SCSS
$custom: #7b291b;
$custom-light: #a86758;
$custom-dark: #000000;
JSON
{
  "hex": "#7b291b",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 8.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.11715,
    "h": 32
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7B291B
secondary
#439FAF
accent
#CFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B291B

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

Preview Lab → · Contrast checker → · Palette generator →

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