#7B2E1B#7B2E1B

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

Color values

HEX#7B2E1B
RGBrgb(123, 46, 27)
HSLhsl(12, 64%, 29%)
HSVhsv(12, 78%, 48%)
CMYKcmyk(0%, 62.6%, 78%, 51.8%)
CIE-LABlab(30.02, 32.39, 28.88)
CIE-LCHlch(30.02, 43.39, 41.72°)
OKLaboklab(40.9% 0.0917 0.0643)
OKLCHoklch(40.9% 0.112 35)
XYZxyz(9.3442, 6.2454, 1.7501)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E1B #1B687B
analogous
#7B1B38 #7B2E1B #7B5E1B
triadic
#7B2E1B #1B7B2E #2E1B7B
tetradic
#7B2E1B #387B1B #1B687B #5E1B7B
square
#7B2E1B #387B1B #1B687B #5E1B7B
split-complementary
#7B2E1B #1B7B5E #1B387B
monochromatic
#190906 #491B10 #7B2E1B #AD4126 #D45A3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2E1B#FFFFFF#000000##FFFFFF
##7B2E1B1.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)
#433C19
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#881C2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2e1b;
/* rgb */ color: rgb(123, 46, 27);
/* oklch */ color: oklch(40.9% 0.112 35.0);
Tailwind
colors: {
  custom: {
    50: '#a86a58',
    500: '#7b2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e1b;
$custom-light: #a86a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e1b",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 11.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.11201,
    "h": 35
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#7B2E1B
secondary
#439AAF
accent
#C6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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