#7A1B22#7A1B22

#7A1B22 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.129 H 22.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7A1B22
RGBrgb(122, 27, 34)
HSLhsl(356, 64%, 29%)
HSVhsv(356, 78%, 48%)
CMYKcmyk(0%, 77.9%, 72.1%, 52.2%)
CIE-LABlab(26.84, 40.73, 20.86)
CIE-LCHlch(26.84, 45.76, 27.12°)
OKLaboklab(38.51% 0.1196 0.0484)
OKLCHoklch(38.51% 0.129 22)
XYZxyz(8.7077, 5.0383, 2.0270)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B22 #1B7A73
analogous
#7A1B52 #7A1B22 #7A441B
triadic
#7A1B22 #227A1B #1B227A
tetradic
#7A1B22 #527A1B #1B7A73 #441B7A
square
#7A1B22 #527A1B #1B7A73 #441B7A
split-complementary
#7A1B22 #1B7A44 #1B527A
monochromatic
#190607 #481014 #7A1B22 #AC2630 #D43C47

Accessibility & contrast

On white

10.46
#7A1B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A1B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B22
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B22#FFFFFF#000000##FFFFFF
##7A1B221.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373221
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1b22;
/* rgb */ color: rgb(122, 27, 34);
/* oklch */ color: oklch(38.5% 0.129 22.0);
Tailwind
colors: {
  custom: {
    50: '#a7605d',
    500: '#7a1b22',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b22;
$custom-light: #a7605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b22",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 355.579,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38514,
    "c": 0.129,
    "h": 22
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#7A1B22
secondary
#43AEA6
accent
#E7DB41
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1B22

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

Preview Lab → · Contrast checker → · Palette generator →

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