#7A1F22#7A1F22

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

Color values

HEX#7A1F22
RGBrgb(122, 31, 34)
HSLhsl(358, 59%, 30%)
HSVhsv(358, 75%, 48%)
CMYKcmyk(0%, 74.6%, 72.1%, 52.2%)
CIE-LABlab(27.39, 39.21, 21.52)
CIE-LCHlch(27.39, 44.73, 28.77°)
OKLaboklab(38.92% 0.1147 0.0499)
OKLCHoklch(38.92% 0.125 23.5)
XYZxyz(8.8057, 5.2344, 2.0597)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F22 #1F7A77
analogous
#7A1F4F #7A1F22 #7A4A1F
triadic
#7A1F22 #227A1F #1F227A
tetradic
#7A1F22 #4F7A1F #1F7A77 #4A1F7A
square
#7A1F22 #4F7A1F #1F7A77 #4A1F7A
split-complementary
#7A1F22 #1F7A4A #1F4F7A
monochromatic
#180607 #491314 #7A1F22 #AB2B30 #CF4449

Accessibility & contrast

On white

10.26
#7A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F22
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F22#FFFFFF#000000##FFFFFF
##7A1F221.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393421
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f22;
/* rgb */ color: rgb(122, 31, 34);
/* oklch */ color: oklch(38.9% 0.125 23.5);
Tailwind
colors: {
  custom: {
    50: '#a7625d',
    500: '#7a1f22',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f22;
$custom-light: #a7625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f22",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.022,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.1251,
    "h": 23.5
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#7A1F22
secondary
#47ADAA
accent
#E3DD45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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