#7B221F#7B221F

#7B221F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.4% C 0.124 H 26.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7B221F
RGBrgb(123, 34, 31)
HSLhsl(2, 60%, 30%)
HSVhsv(2, 75%, 48%)
CMYKcmyk(0%, 72.4%, 74.8%, 51.8%)
CIE-LABlab(27.99, 38.17, 24.20)
CIE-LCHlch(27.99, 45.19, 32.37°)
OKLaboklab(39.4% 0.1106 0.0551)
OKLCHoklch(39.4% 0.124 26.5)
XYZxyz(8.9887, 5.4553, 1.8757)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B221F #1F787B
analogous
#7B1F4A #7B221F #7B501F
triadic
#7B221F #1F7B22 #221F7B
tetradic
#7B221F #4A7B1F #1F787B #501F7B
square
#7B221F #4A7B1F #1F787B #501F7B
split-complementary
#7B221F #1F7B50 #1F4A7B
monochromatic
#190706 #4A1413 #7B221F #AC302B #D04944

Accessibility & contrast

On white

10.04
#7B221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B221F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B221F#FFFFFF#000000##FFFFFF
##7B221F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B361E
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#880522
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b221f;
/* rgb */ color: rgb(123, 34, 31);
/* oklch */ color: oklch(39.4% 0.124 26.5);
Tailwind
colors: {
  custom: {
    50: '#a8635b',
    500: '#7b221f',
    950: '#000000',
  },
}
SCSS
$custom: #7b221f;
$custom-light: #a8635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b221f",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.957,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39395,
    "c": 0.1236,
    "h": 26.5
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#7B221F
secondary
#48ABAE
accent
#DEE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B221F

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

Preview Lab → · Contrast checker → · Palette generator →

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