#7A1A2A#7A1A2A

#7A1A2A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.130 H 16.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7A1A2A
RGBrgb(122, 26, 42)
HSLhsl(350, 65%, 29%)
HSVhsv(350, 79%, 48%)
CMYKcmyk(0%, 78.7%, 65.6%, 52.2%)
CIE-LABlab(26.86, 41.57, 15.58)
CIE-LCHlch(26.86, 44.39, 20.55°)
OKLaboklab(38.57% 0.1241 0.0376)
OKLCHoklch(38.57% 0.13 16.9)
XYZxyz(8.8143, 5.0448, 2.6997)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A2A #1A7A6A
analogous
#7A1A5A #7A1A2A #7A3A1A
triadic
#7A1A2A #2A7A1A #1A2A7A
tetradic
#7A1A2A #5A7A1A #1A7A6A #3A1A7A
square
#7A1A2A #5A7A1A #1A7A6A #3A1A7A
split-complementary
#7A1A2A #1A7A3A #1A5A7A
monochromatic
#190509 #480F19 #7A1A2A #AC253B #D53953

Accessibility & contrast

On white

10.45
#7A1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A2A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A2A#FFFFFF#000000##FFFFFF
##7A1A2A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332A
Deuteranopia (green-blind)
#4D4727
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1a2a;
/* rgb */ color: rgb(122, 26, 42);
/* oklch */ color: oklch(38.6% 0.130 16.9);
Tailwind
colors: {
  custom: {
    50: '#a76063',
    500: '#7a1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a2a;
$custom-light: #a76063;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a2a",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 350,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.12963,
    "h": 16.9
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#7A1A2A
secondary
#41AE9C
accent
#E8CC40
background
#FBF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7A1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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