#7B291C#7B291C

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

Color values

HEX#7B291C
RGBrgb(123, 41, 28)
HSLhsl(8, 63%, 30%)
HSVhsv(8, 77%, 48%)
CMYKcmyk(0%, 66.7%, 77.2%, 51.8%)
CIE-LABlab(29.11, 34.89, 27.30)
CIE-LCHlch(29.11, 44.30, 38.04°)
OKLaboklab(40.22% 0.0997 0.0612)
OKLCHoklch(40.22% 0.117 31.5)
XYZxyz(9.1719, 5.8820, 1.7508)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B291C #1C6E7B
analogous
#7B1C3E #7B291C #7B591C
triadic
#7B291C #1C7B29 #291C7B
tetradic
#7B291C #3E7B1C #1C6E7B #591C7B
square
#7B291C #3E7B1C #1C6E7B #591C7B
split-complementary
#7B291C #1C7B59 #1C3E7B
monochromatic
#190806 #491811 #7B291C #AD3A27 #D3533E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B291C#FFFFFF#000000##FFFFFF
##7B291C1.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)
#40391A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#881426
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b291c;
/* rgb */ color: rgb(123, 41, 28);
/* oklch */ color: oklch(40.2% 0.117 31.5);
Tailwind
colors: {
  custom: {
    50: '#a86759',
    500: '#7b291c',
    950: '#000000',
  },
}
SCSS
$custom: #7b291c;
$custom-light: #a86759;
$custom-dark: #000000;
JSON
{
  "hex": "#7b291c",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 8.211,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.11693,
    "h": 31.5
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#7B291C
secondary
#44A0AF
accent
#D0E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B291C

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

Preview Lab → · Contrast checker → · Palette generator →

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