#7A1D2A#7A1D2A

#7A1D2A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.127 H 17.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7A1D2A
RGBrgb(122, 29, 42)
HSLhsl(352, 62%, 30%)
HSVhsv(352, 76%, 48%)
CMYKcmyk(0%, 76.2%, 65.6%, 52.2%)
CIE-LABlab(27.25, 40.47, 16.09)
CIE-LCHlch(27.25, 43.55, 21.68°)
OKLaboklab(38.87% 0.1206 0.0388)
OKLCHoklch(38.87% 0.127 17.8)
XYZxyz(8.8842, 5.1848, 2.7230)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D2A #1D7A6D
analogous
#7A1D59 #7A1D2A #7A3F1D
triadic
#7A1D2A #2A7A1D #1D2A7A
tetradic
#7A1D2A #597A1D #1D7A6D #3F1D7A
square
#7A1D2A #597A1D #1D7A6D #3F1D7A
split-complementary
#7A1D2A #1D7A3F #1D597A
monochromatic
#190609 #491119 #7A1D2A #AB293B #D24054

Accessibility & contrast

On white

10.31
#7A1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D2A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D2A#FFFFFF#000000##FFFFFF
##7A1D2A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d2a;
/* rgb */ color: rgb(122, 29, 42);
/* oklch */ color: oklch(38.9% 0.127 17.8);
Tailwind
colors: {
  custom: {
    50: '#a76163',
    500: '#7a1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d2a;
$custom-light: #a76163;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d2a",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 351.613,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38867,
    "c": 0.12662,
    "h": 17.8
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#7A1D2A
secondary
#45AE9F
accent
#E5CE43
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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