#7B221B#7B221B

#7B221B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.124 H 28.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7B221B
RGBrgb(123, 34, 27)
HSLhsl(4, 64%, 29%)
HSVhsv(4, 78%, 48%)
CMYKcmyk(0%, 72.4%, 78%, 51.8%)
CIE-LABlab(27.94, 37.98, 26.62)
CIE-LCHlch(27.94, 46.38, 35.02°)
OKLaboklab(39.34% 0.1091 0.0594)
OKLCHoklch(39.34% 0.124 28.6)
XYZxyz(8.9392, 5.4355, 1.6152)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B221B #1B747B
analogous
#7B1B44 #7B221B #7B521B
triadic
#7B221B #1B7B22 #221B7B
tetradic
#7B221B #447B1B #1B747B #521B7B
square
#7B221B #447B1B #1B747B #521B7B
split-complementary
#7B221B #1B7B52 #1B447B
monochromatic
#190706 #491410 #7B221B #AD3026 #D4473C

Accessibility & contrast

On white

10.06
#7B221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B221B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B221B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B221B#FFFFFF#000000##FFFFFF
##7B221B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3619
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#880321
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b221b;
/* rgb */ color: rgb(123, 34, 27);
/* oklch */ color: oklch(39.3% 0.124 28.6);
Tailwind
colors: {
  custom: {
    50: '#a86358',
    500: '#7b221b',
    950: '#000000',
  },
}
SCSS
$custom: #7b221b;
$custom-light: #a86358;
$custom-dark: #000000;
JSON
{
  "hex": "#7b221b",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 4.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.12425,
    "h": 28.6
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#7B221B
secondary
#43A7AF
accent
#DBE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B221B

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

Preview Lab → · Contrast checker → · Palette generator →

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