#7A1B20#7A1B20

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

Color values

HEX#7A1B20
RGBrgb(122, 27, 32)
HSLhsl(357, 64%, 29%)
HSVhsv(357, 78%, 48%)
CMYKcmyk(0%, 77.9%, 73.8%, 52.2%)
CIE-LABlab(26.81, 40.63, 22.13)
CIE-LCHlch(26.81, 46.26, 28.57°)
OKLaboklab(38.48% 0.1188 0.0508)
OKLCHoklch(38.48% 0.129 23.2)
XYZxyz(8.6797, 5.0271, 1.8795)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B20 #1B7A75
analogous
#7A1B50 #7A1B20 #7A461B
triadic
#7A1B20 #207A1B #1B207A
tetradic
#7A1B20 #507A1B #1B7A75 #461B7A
square
#7A1B20 #507A1B #1B7A75 #461B7A
split-complementary
#7A1B20 #1B7A46 #1B507A
monochromatic
#190607 #481013 #7A1B20 #AC262D #D43C44

Accessibility & contrast

On white

10.47
#7A1B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B20
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B20#FFFFFF#000000##FFFFFF
##7A1B201.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1b20;
/* rgb */ color: rgb(122, 27, 32);
/* oklch */ color: oklch(38.5% 0.129 23.2);
Tailwind
colors: {
  custom: {
    50: '#a8605b',
    500: '#7a1b20',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b20;
$custom-light: #a8605b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b20",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 356.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.12919,
    "h": 23.2
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#7A1B20
secondary
#43AEA8
accent
#E7DE41
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1B20

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

Preview Lab → · Contrast checker → · Palette generator →

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