#7A1B2B#7A1B2B

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

Color values

HEX#7A1B2B
RGBrgb(122, 27, 43)
HSLhsl(350, 64%, 29%)
HSVhsv(350, 78%, 48%)
CMYKcmyk(0%, 77.9%, 64.8%, 52.2%)
CIE-LABlab(27.01, 41.28, 15.10)
CIE-LCHlch(27.01, 43.95, 20.10°)
OKLaboklab(38.69% 0.1233 0.0366)
OKLCHoklch(38.69% 0.129 16.5)
XYZxyz(8.8549, 5.0972, 2.8026)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2B #1B7A6A
analogous
#7A1B5B #7A1B2B #7A3B1B
triadic
#7A1B2B #2B7A1B #1B2B7A
tetradic
#7A1B2B #5B7A1B #1B7A6A #3B1B7A
square
#7A1B2B #5B7A1B #1B7A6A #3B1B7A
split-complementary
#7A1B2B #1B7A3B #1B5B7A
monochromatic
#190609 #481019 #7A1B2B #AC263D #D43C55

Accessibility & contrast

On white

10.40
#7A1B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B2B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B2B#FFFFFF#000000##FFFFFF
##7A1B2B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1b2b;
/* rgb */ color: rgb(122, 27, 43);
/* oklch */ color: oklch(38.7% 0.129 16.5);
Tailwind
colors: {
  custom: {
    50: '#a76064',
    500: '#7a1b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2b;
$custom-light: #a76064;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2b",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 349.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.12865,
    "h": 16.5
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#7A1B2B
secondary
#43AE9C
accent
#E7CB41
background
#FAF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7A1B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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