#7A1B2A#7A1B2A

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

Color values

HEX#7A1B2A
RGBrgb(122, 27, 42)
HSLhsl(351, 64%, 29%)
HSVhsv(351, 78%, 48%)
CMYKcmyk(0%, 77.9%, 65.6%, 52.2%)
CIE-LABlab(26.99, 41.21, 15.75)
CIE-LCHlch(26.99, 44.12, 20.91°)
OKLaboklab(38.67% 0.1229 0.038)
OKLCHoklch(38.67% 0.129 17.2)
XYZxyz(8.8368, 5.0899, 2.7072)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2A #1B7A6B
analogous
#7A1B5A #7A1B2A #7A3C1B
triadic
#7A1B2A #2A7A1B #1B2A7A
tetradic
#7A1B2A #5A7A1B #1B7A6B #3C1B7A
square
#7A1B2A #5A7A1B #1B7A6B #3C1B7A
split-complementary
#7A1B2A #1B7A3C #1B5A7A
monochromatic
#190609 #481019 #7A1B2A #AC263B #D43C54

Accessibility & contrast

On white

10.41
#7A1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B2A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B2A#FFFFFF#000000##FFFFFF
##7A1B2A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36332A
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b2a;
/* rgb */ color: rgb(122, 27, 42);
/* oklch */ color: oklch(38.7% 0.129 17.2);
Tailwind
colors: {
  custom: {
    50: '#a76063',
    500: '#7a1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2a;
$custom-light: #a76063;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2a",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 350.526,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.12865,
    "h": 17.2
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#7A1B2A
secondary
#43AE9D
accent
#E7CD41
background
#FAF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7A1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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