#7B311A#7B311A

#7B311A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.3% C 0.109 H 37.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7B311A
RGBrgb(123, 49, 26)
HSLhsl(14, 65%, 29%)
HSVhsv(14, 79%, 48%)
CMYKcmyk(0%, 60.2%, 78.9%, 51.8%)
CIE-LABlab(30.60, 30.80, 30.06)
CIE-LCHlch(30.60, 43.04, 44.30°)
OKLaboklab(41.34% 0.0866 0.0666)
OKLCHoklch(41.34% 0.109 37.6)
XYZxyz(9.4541, 6.4834, 1.7307)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B311A #1A647B
analogous
#7B1A34 #7B311A #7B621A
triadic
#7B311A #1A7B31 #311A7B
tetradic
#7B311A #347B1A #1A647B #621A7B
square
#7B311A #347B1A #1A647B #621A7B
split-complementary
#7B311A #1A7B62 #1A347B
monochromatic
#190A05 #481D0F #7B311A #AE4525 #D55F3A

Accessibility & contrast

On white

9.14
#7B311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7B311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B311A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B311A#FFFFFF#000000##FFFFFF
##7B311A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#88202C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b311a;
/* rgb */ color: rgb(123, 49, 26);
/* oklch */ color: oklch(41.3% 0.109 37.6);
Tailwind
colors: {
  custom: {
    50: '#a86c58',
    500: '#7b311a',
    950: '#000000',
  },
}
SCSS
$custom: #7b311a;
$custom-light: #a86c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b311a",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 14.227,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41337,
    "c": 0.10925,
    "h": 37.6
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#7B311A
secondary
#4295AF
accent
#C0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B311A

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

Preview Lab → · Contrast checker → · Palette generator →

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