#7B2E1A#7B2E1A

#7B2E1A is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.112 H 35.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7B2E1A
RGBrgb(123, 46, 26)
HSLhsl(12, 65%, 29%)
HSVhsv(12, 79%, 48%)
CMYKcmyk(0%, 62.6%, 78.9%, 51.8%)
CIE-LABlab(30.01, 32.34, 29.44)
CIE-LCHlch(30.01, 43.74, 42.31°)
OKLaboklab(40.89% 0.0914 0.0653)
OKLCHoklch(40.89% 0.112 35.5)
XYZxyz(9.3328, 6.2408, 1.6902)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E1A #1A677B
analogous
#7B1A37 #7B2E1A #7B5F1A
triadic
#7B2E1A #1A7B2E #2E1A7B
tetradic
#7B2E1A #377B1A #1A677B #5F1A7B
square
#7B2E1A #377B1A #1A677B #5F1A7B
split-complementary
#7B2E1A #1A7B5F #1A377B
monochromatic
#190905 #481B0F #7B2E1A #AE4125 #D55A3A

Accessibility & contrast

On white

9.34
#7B2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B2E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E1A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E1A#FFFFFF#000000##FFFFFF
##7B2E1A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C17
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#881C2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2e1a;
/* rgb */ color: rgb(123, 46, 26);
/* oklch */ color: oklch(40.9% 0.112 35.5);
Tailwind
colors: {
  custom: {
    50: '#a86a58',
    500: '#7b2e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e1a;
$custom-light: #a86a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e1a",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 12.371,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.11227,
    "h": 35.5
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#7B2E1A
secondary
#4299AF
accent
#C5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B2E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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