#7A1E1F#7A1E1F

#7A1E1F is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.126 H 24.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1E1F
RGBrgb(122, 30, 31)
HSLhsl(359, 61%, 30%)
HSVhsv(359, 75%, 48%)
CMYKcmyk(0%, 75.4%, 74.6%, 52.2%)
CIE-LABlab(27.20, 39.45, 23.23)
CIE-LCHlch(27.20, 45.78, 30.49°)
OKLaboklab(38.77% 0.1148 0.053)
OKLCHoklch(38.77% 0.126 24.8)
XYZxyz(8.7386, 5.1664, 1.8331)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E1F #1E7A79
analogous
#7A1E4D #7A1E1F #7A4B1E
triadic
#7A1E1F #1F7A1E #1E1F7A
tetradic
#7A1E1F #4D7A1E #1E7A79 #4B1E7A
square
#7A1E1F #4D7A1E #1E7A79 #4B1E7A
split-complementary
#7A1E1F #1E7A4B #1E4D7A
monochromatic
#190606 #491213 #7A1E1F #AB2A2B #D04243

Accessibility & contrast

On white

10.33
#7A1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E1F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E1F#FFFFFF#000000##FFFFFF
##7A1E1F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341E
Deuteranopia (green-blind)
#50471C
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1e1f;
/* rgb */ color: rgb(122, 30, 31);
/* oklch */ color: oklch(38.8% 0.126 24.8);
Tailwind
colors: {
  custom: {
    50: '#a7615a',
    500: '#7a1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e1f;
$custom-light: #a7615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e1f",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.348,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.12645,
    "h": 24.8
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#7A1E1F
secondary
#46AEAC
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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