#7B311B#7B311B

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

Color values

HEX#7B311B
RGBrgb(123, 49, 27)
HSLhsl(14, 64%, 29%)
HSVhsv(14, 78%, 48%)
CMYKcmyk(0%, 60.2%, 78%, 51.8%)
CIE-LABlab(30.61, 30.85, 29.50)
CIE-LCHlch(30.61, 42.69, 43.73°)
OKLaboklab(41.35% 0.0869 0.0657)
OKLCHoklch(41.35% 0.109 37.1)
XYZxyz(9.4655, 6.4880, 1.7906)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B311B #1B657B
analogous
#7B1B35 #7B311B #7B611B
triadic
#7B311B #1B7B31 #311B7B
tetradic
#7B311B #357B1B #1B657B #611B7B
square
#7B311B #357B1B #1B657B #611B7B
split-complementary
#7B311B #1B7B61 #1B357B
monochromatic
#190A06 #491D10 #7B311B #AD4526 #D45F3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B311B#FFFFFF#000000##FFFFFF
##7B311B1.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)
#453E18
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#88202C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b311b;
/* rgb */ color: rgb(123, 49, 27);
/* oklch */ color: oklch(41.3% 0.109 37.1);
Tailwind
colors: {
  custom: {
    50: '#a76c58',
    500: '#7b311b',
    950: '#000000',
  },
}
SCSS
$custom: #7b311b;
$custom-light: #a76c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b311b",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 13.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.10895,
    "h": 37.1
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#7B311B
secondary
#4396AF
accent
#C1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B311B

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

Preview Lab → · Contrast checker → · Palette generator →

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