#7B1822#7B1822

#7B1822 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.133 H 21.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7B1822
RGBrgb(123, 24, 34)
HSLhsl(354, 67%, 29%)
HSVhsv(354, 80%, 48%)
CMYKcmyk(0%, 80.5%, 72.4%, 51.8%)
CIE-LABlab(26.68, 42.10, 20.71)
CIE-LCHlch(26.68, 46.92, 26.20°)
OKLaboklab(38.43% 0.1238 0.048)
OKLCHoklch(38.43% 0.133 21.2)
XYZxyz(8.7847, 4.9811, 2.0120)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1822 #187B71
analogous
#7B1854 #7B1822 #7B4018
triadic
#7B1822 #227B18 #18227B
tetradic
#7B1822 #547B18 #187B71 #40187B
square
#7B1822 #547B18 #187B71 #40187B
split-complementary
#7B1822 #187B40 #18547B
monochromatic
#1A0507 #480E14 #7B1822 #AE2230 #D83646

Accessibility & contrast

On white

10.52
#7B1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1822
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1822#FFFFFF#000000##FFFFFF
##7B18221.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1822;
/* rgb */ color: rgb(123, 24, 34);
/* oklch */ color: oklch(38.4% 0.133 21.2);
Tailwind
colors: {
  custom: {
    50: '#a85f5d',
    500: '#7b1822',
    950: '#000000',
  },
}
SCSS
$custom: #7b1822;
$custom-light: #a85f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1822",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 353.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.13277,
    "h": 21.2
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#7B1822
secondary
#3FB0A4
accent
#EAD93E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1822

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

Preview Lab → · Contrast checker → · Palette generator →

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