#7A2A22#7A2A22

#7A2A22 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.113 H 28.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7A2A22
RGBrgb(122, 42, 34)
HSLhsl(5, 56%, 31%)
HSVhsv(5, 72%, 48%)
CMYKcmyk(0%, 65.6%, 72.1%, 52.2%)
CIE-LABlab(29.18, 34.34, 23.66)
CIE-LCHlch(29.18, 41.70, 34.57°)
OKLaboklab(40.27% 0.0994 0.0546)
OKLCHoklch(40.27% 0.113 28.8)
XYZxyz(9.1437, 5.9103, 2.1724)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A22 #22727A
analogous
#7A2246 #7A2A22 #7A5622
triadic
#7A2A22 #227A2A #2A227A
tetradic
#7A2A22 #467A22 #22727A #56227A
square
#7A2A22 #467A22 #22727A #56227A
split-complementary
#7A2A22 #227A56 #22467A
monochromatic
#1A0907 #4A1A15 #7A2A22 #AA3A2F #CD564A

Accessibility & contrast

On white

9.63
#7A2A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A2A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A22
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A22#FFFFFF#000000##FFFFFF
##7A2A221.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A21
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#861729
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2a22;
/* rgb */ color: rgb(122, 42, 34);
/* oklch */ color: oklch(40.3% 0.113 28.8);
Tailwind
colors: {
  custom: {
    50: '#a7685d',
    500: '#7a2a22',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a22;
$custom-light: #a7685d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a22",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 5.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.11338,
    "h": 28.8
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#7A2A22
secondary
#4BA4AD
accent
#D2E048
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A2A22

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

Preview Lab → · Contrast checker → · Palette generator →

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