#7A2E1B#7A2E1B

#7A2E1B is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.7% C 0.111 H 35.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A2E1B
RGBrgb(122, 46, 27)
HSLhsl(12, 64%, 29%)
HSVhsv(12, 78%, 48%)
CMYKcmyk(0%, 62.3%, 77.9%, 52.2%)
CIE-LABlab(29.84, 31.99, 28.63)
CIE-LCHlch(29.84, 42.93, 41.82°)
OKLaboklab(40.73% 0.0906 0.0638)
OKLCHoklch(40.73% 0.111 35.2)
XYZxyz(9.2018, 6.1720, 1.7435)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E1B #1B677A
analogous
#7A1B38 #7A2E1B #7A5E1B
triadic
#7A2E1B #1B7A2E #2E1B7A
tetradic
#7A2E1B #387A1B #1B677A #5E1B7A
square
#7A2E1B #387A1B #1B677A #5E1B7A
split-complementary
#7A2E1B #1B7A5E #1B387A
monochromatic
#190906 #481B10 #7A2E1B #AC4126 #D45A3C

Accessibility & contrast

On white

9.40
#7A2E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A2E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E1B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E1B#FFFFFF#000000##FFFFFF
##7A2E1B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#861C2A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2e1b;
/* rgb */ color: rgb(122, 46, 27);
/* oklch */ color: oklch(40.7% 0.111 35.2);
Tailwind
colors: {
  custom: {
    50: '#a76a58',
    500: '#7a2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e1b;
$custom-light: #a76a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e1b",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 12,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.11082,
    "h": 35.2
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#7A2E1B
secondary
#4399AE
accent
#C6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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