#7B1722#7B1722

#7B1722 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 20.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7B1722
RGBrgb(123, 23, 34)
HSLhsl(353, 68%, 29%)
HSVhsv(353, 81%, 48%)
CMYKcmyk(0%, 81.3%, 72.4%, 51.8%)
CIE-LABlab(26.56, 42.42, 20.57)
CIE-LCHlch(26.56, 47.15, 25.87°)
OKLaboklab(38.35% 0.1248 0.0477)
OKLCHoklch(38.35% 0.134 20.9)
XYZxyz(8.7645, 4.9406, 2.0052)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1722 #177B70
analogous
#7B1754 #7B1722 #7B3E17
triadic
#7B1722 #227B17 #17227B
tetradic
#7B1722 #547B17 #177B70 #3E177B
square
#7B1722 #547B17 #177B70 #3E177B
split-complementary
#7B1722 #177B3E #17547B
monochromatic
#1A0507 #470D14 #7B1722 #AF2130 #D93346

Accessibility & contrast

On white

10.56
#7B1722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B1722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1722
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1722#FFFFFF#000000##FFFFFF
##7B17221.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353122
Deuteranopia (green-blind)
#4E461F
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1722;
/* rgb */ color: rgb(123, 23, 34);
/* oklch */ color: oklch(38.3% 0.134 20.9);
Tailwind
colors: {
  custom: {
    50: '#a85f5d',
    500: '#7b1722',
    950: '#000000',
  },
}
SCSS
$custom: #7b1722;
$custom-light: #a85f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1722",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 353.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.13364,
    "h": 20.9
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#7B1722
secondary
#3EB0A3
accent
#EBD83C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1722

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

Preview Lab → · Contrast checker → · Palette generator →

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