#7A1B2C#7A1B2C

#7A1B2C is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.129 H 15.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7A1B2C
RGBrgb(122, 27, 44)
HSLhsl(349, 64%, 29%)
HSVhsv(349, 78%, 48%)
CMYKcmyk(0%, 77.9%, 63.9%, 52.2%)
CIE-LABlab(27.03, 41.35, 14.46)
CIE-LCHlch(27.03, 43.80, 19.28°)
OKLaboklab(38.71% 0.1238 0.0352)
OKLCHoklch(38.71% 0.129 15.9)
XYZxyz(8.8735, 5.1046, 2.9004)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2C #1B7A69
analogous
#7A1B5C #7A1B2C #7A3A1B
triadic
#7A1B2C #2C7A1B #1B2C7A
tetradic
#7A1B2C #5C7A1B #1B7A69 #3A1B7A
square
#7A1B2C #5C7A1B #1B7A69 #3A1B7A
split-complementary
#7A1B2C #1B7A3A #1B5C7A
monochromatic
#190609 #48101A #7A1B2C #AC263E #D43C57

Accessibility & contrast

On white

10.39
#7A1B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B2C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B2C#FFFFFF#000000##FFFFFF
##7A1B2C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4D4729
Tritanopia (blue-blind)
#860022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b2c;
/* rgb */ color: rgb(122, 27, 44);
/* oklch */ color: oklch(38.7% 0.129 15.9);
Tailwind
colors: {
  custom: {
    50: '#a76064',
    500: '#7a1b2c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2c;
$custom-light: #a76064;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2c",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 349.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.12867,
    "h": 15.9
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#7A1B2C
secondary
#43AE9B
accent
#E7C941
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A1B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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