#7A311B#7A311B

#7A311B is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.108 H 37.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7A311B
RGBrgb(122, 49, 27)
HSLhsl(14, 64%, 29%)
HSVhsv(14, 78%, 48%)
CMYKcmyk(0%, 59.8%, 77.9%, 52.2%)
CIE-LABlab(30.44, 30.44, 29.26)
CIE-LCHlch(30.44, 42.23, 43.87°)
OKLaboklab(41.18% 0.0858 0.0652)
OKLCHoklch(41.18% 0.108 37.2)
XYZxyz(9.3231, 6.4146, 1.7839)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A311B #1B647A
analogous
#7A1B35 #7A311B #7A611B
triadic
#7A311B #1B7A31 #311B7A
tetradic
#7A311B #357A1B #1B647A #611B7A
square
#7A311B #357A1B #1B647A #611B7A
split-complementary
#7A311B #1B7A61 #1B357A
monochromatic
#190A06 #481D10 #7A311B #AC4526 #D45F3C

Accessibility & contrast

On white

9.20
#7A311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A311B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A311B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A311B#FFFFFF#000000##FFFFFF
##7A311B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E18
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#86212C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a311b;
/* rgb */ color: rgb(122, 49, 27);
/* oklch */ color: oklch(41.2% 0.108 37.2);
Tailwind
colors: {
  custom: {
    50: '#a76c58',
    500: '#7a311b',
    950: '#000000',
  },
}
SCSS
$custom: #7a311b;
$custom-light: #a76c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7a311b",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 13.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.10777,
    "h": 37.2
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#7A311B
secondary
#4395AE
accent
#C0E741
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7A311B

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

Preview Lab → · Contrast checker → · Palette generator →

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