#7A1C2A#7A1C2A

#7A1C2A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.128 H 17.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7A1C2A
RGBrgb(122, 28, 42)
HSLhsl(351, 63%, 29%)
HSVhsv(351, 77%, 48%)
CMYKcmyk(0%, 77%, 65.6%, 52.2%)
CIE-LABlab(27.12, 40.85, 15.92)
CIE-LCHlch(27.12, 43.84, 21.29°)
OKLaboklab(38.77% 0.1218 0.0384)
OKLCHoklch(38.77% 0.128 17.5)
XYZxyz(8.8601, 5.1366, 2.7150)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C2A #1C7A6C
analogous
#7A1C59 #7A1C2A #7A3D1C
triadic
#7A1C2A #2A7A1C #1C2A7A
tetradic
#7A1C2A #597A1C #1C7A6C #3D1C7A
square
#7A1C2A #597A1C #1C7A6C #3D1C7A
split-complementary
#7A1C2A #1C7A3D #1C597A
monochromatic
#190609 #481119 #7A1C2A #AC273B #D33E54

Accessibility & contrast

On white

10.36
#7A1C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C2A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C2A#FFFFFF#000000##FFFFFF
##7A1C2A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c2a;
/* rgb */ color: rgb(122, 28, 42);
/* oklch */ color: oklch(38.8% 0.128 17.5);
Tailwind
colors: {
  custom: {
    50: '#a76163',
    500: '#7a1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c2a;
$custom-light: #a76163;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c2a",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 351.064,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.12765,
    "h": 17.5
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#7A1C2A
secondary
#44AE9E
accent
#E6CD42
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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