#7A1A2B#7A1A2B

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

Color values

HEX#7A1A2B
RGBrgb(122, 26, 43)
HSLhsl(349, 65%, 29%)
HSVhsv(349, 79%, 48%)
CMYKcmyk(0%, 78.7%, 64.8%, 52.2%)
CIE-LABlab(26.88, 41.63, 14.94)
CIE-LCHlch(26.88, 44.23, 19.74°)
OKLaboklab(38.6% 0.1245 0.0362)
OKLCHoklch(38.6% 0.13 16.2)
XYZxyz(8.8324, 5.0521, 2.7951)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A2B #1A7A69
analogous
#7A1A5B #7A1A2B #7A391A
triadic
#7A1A2B #2B7A1A #1A2B7A
tetradic
#7A1A2B #5B7A1A #1A7A69 #391A7A
square
#7A1A2B #5B7A1A #1A7A69 #391A7A
split-complementary
#7A1A2B #1A7A39 #1A5B7A
monochromatic
#190509 #480F19 #7A1A2B #AC253D #D53955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1A2B#FFFFFF#000000##FFFFFF
##7A1A2B1.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)
#35332B
Deuteranopia (green-blind)
#4D4728
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1a2b;
/* rgb */ color: rgb(122, 26, 43);
/* oklch */ color: oklch(38.6% 0.130 16.2);
Tailwind
colors: {
  custom: {
    50: '#a76064',
    500: '#7a1a2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a2b;
$custom-light: #a76064;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a2b",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 349.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.12964,
    "h": 16.2
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#7A1A2B
secondary
#41AE9B
accent
#E8CA40
background
#FAF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7A1A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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