#7A2126#7A2126

#7A2126 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.123 H 21.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7A2126
RGBrgb(122, 33, 38)
HSLhsl(357, 57%, 30%)
HSVhsv(357, 73%, 48%)
CMYKcmyk(0%, 73%, 68.9%, 52.2%)
CIE-LABlab(27.75, 38.63, 19.37)
CIE-LCHlch(27.75, 43.21, 26.63°)
OKLaboklab(39.22% 0.1138 0.0457)
OKLCHoklch(39.22% 0.123 21.9)
XYZxyz(8.9207, 5.3665, 2.3995)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2126 #217A75
analogous
#7A2152 #7A2126 #7A4821
triadic
#7A2126 #267A21 #21267A
tetradic
#7A2126 #527A21 #217A75 #48217A
square
#7A2126 #527A21 #217A75 #48217A
split-complementary
#7A2126 #217A48 #21527A
monochromatic
#1A0708 #4A1417 #7A2126 #AA2E35 #CD484F

Accessibility & contrast

On white

10.13
#7A2126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7A2126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2126
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2126#FFFFFF#000000##FFFFFF
##7A21261.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3525
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#860624
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a2126;
/* rgb */ color: rgb(122, 33, 38);
/* oklch */ color: oklch(39.2% 0.123 21.9);
Tailwind
colors: {
  custom: {
    50: '#a76360',
    500: '#7a2126',
    950: '#000000',
  },
}
SCSS
$custom: #7a2126;
$custom-light: #a76360;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2126",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 356.629,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.12262,
    "h": 21.9
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#7A2126
secondary
#4AADA7
accent
#E1D847
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A2126

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

Preview Lab → · Contrast checker → · Palette generator →

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