#7A2226#7A2226

#7A2226 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.122 H 22.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7A2226
RGBrgb(122, 34, 38)
HSLhsl(357, 56%, 31%)
HSVhsv(357, 72%, 48%)
CMYKcmyk(0%, 72.1%, 68.9%, 52.2%)
CIE-LABlab(27.91, 38.21, 19.56)
CIE-LCHlch(27.91, 42.92, 27.11°)
OKLaboklab(39.33% 0.1125 0.0461)
OKLCHoklch(39.33% 0.122 22.3)
XYZxyz(8.9489, 5.4229, 2.4088)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2226 #227A76
analogous
#7A2252 #7A2226 #7A4A22
triadic
#7A2226 #267A22 #22267A
tetradic
#7A2226 #527A22 #227A76 #4A227A
square
#7A2226 #527A22 #227A76 #4A227A
split-complementary
#7A2226 #227A4A #22527A
monochromatic
#1A0708 #4A1517 #7A2226 #AA2F35 #CD4A50

Accessibility & contrast

On white

10.07
#7A2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A2226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2226
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2226#FFFFFF#000000##FFFFFF
##7A22261.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3625
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#860824
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2226;
/* rgb */ color: rgb(122, 34, 38);
/* oklch */ color: oklch(39.3% 0.122 22.3);
Tailwind
colors: {
  custom: {
    50: '#a76360',
    500: '#7a2226',
    950: '#000000',
  },
}
SCSS
$custom: #7a2226;
$custom-light: #a76360;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2226",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.12155,
    "h": 22.3
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#7A2226
secondary
#4BADA8
accent
#E0D948
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A2226

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

Preview Lab → · Contrast checker → · Palette generator →

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