#7E2126#7E2126

#7E2126 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 22.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E2126
RGBrgb(126, 33, 38)
HSLhsl(357, 58%, 31%)
HSVhsv(357, 74%, 49%)
CMYKcmyk(0%, 73.8%, 69.8%, 50.6%)
CIE-LABlab(28.55, 40.01, 20.53)
CIE-LCHlch(28.55, 44.96, 27.16°)
OKLaboklab(39.95% 0.1176 0.0481)
OKLCHoklch(39.95% 0.127 22.3)
XYZxyz(9.4989, 5.6647, 2.4266)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2126 #217E79
analogous
#7E2154 #7E2126 #7E4A21
triadic
#7E2126 #267E21 #21267E
tetradic
#7E2126 #547E21 #217E79 #4A217E
square
#7E2126 #547E21 #217E79 #4A217E
split-complementary
#7E2126 #217E4A #21547E
monochromatic
#1D0809 #4E1417 #7E2126 #AE2E35 #D04A51

Accessibility & contrast

On white

9.85
#7E2126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E2126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2126
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2126#FFFFFF#000000##FFFFFF
##7E21261.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#524B23
Tritanopia (blue-blind)
#8B0224
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2126;
/* rgb */ color: rgb(126, 33, 38);
/* oklch */ color: oklch(40.0% 0.127 22.3);
Tailwind
colors: {
  custom: {
    50: '#aa6460',
    500: '#7e2126',
    950: '#000000',
  },
}
SCSS
$custom: #7e2126;
$custom-light: #aa6460;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2126",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 356.774,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.12709,
    "h": 22.3
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#7E2126
secondary
#4AB1AB
accent
#E2D946
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2126

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

Preview Lab → · Contrast checker → · Palette generator →

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