#7B291F#7B291F

#7B291F is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.116 H 29.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7B291F
RGBrgb(123, 41, 31)
HSLhsl(7, 60%, 30%)
HSVhsv(7, 75%, 48%)
CMYKcmyk(0%, 66.7%, 74.8%, 51.8%)
CIE-LABlab(29.15, 35.03, 25.53)
CIE-LCHlch(29.15, 43.35, 36.08°)
OKLaboklab(40.26% 0.1008 0.058)
OKLCHoklch(40.26% 0.116 29.9)
XYZxyz(9.2096, 5.8971, 1.9494)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B291F #1F717B
analogous
#7B1F43 #7B291F #7B571F
triadic
#7B291F #1F7B29 #291F7B
tetradic
#7B291F #437B1F #1F717B #571F7B
square
#7B291F #437B1F #1F717B #571F7B
split-complementary
#7B291F #1F7B57 #1F437B
monochromatic
#190806 #4A1913 #7B291F #AC392B #D05444

Accessibility & contrast

On white

9.64
#7B291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B291F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B291F#FFFFFF#000000##FFFFFF
##7B291F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391D
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#881427
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b291f;
/* rgb */ color: rgb(123, 41, 31);
/* oklch */ color: oklch(40.3% 0.116 29.9);
Tailwind
colors: {
  custom: {
    50: '#a8675b',
    500: '#7b291f',
    950: '#000000',
  },
}
SCSS
$custom: #7b291f;
$custom-light: #a8675b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b291f",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 6.522,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.11628,
    "h": 29.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#7B291F
secondary
#48A3AE
accent
#D2E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B291F

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

Preview Lab → · Contrast checker → · Palette generator →

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