#7E2220#7E2220

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

Color values

HEX#7E2220
RGBrgb(126, 34, 32)
HSLhsl(1, 59%, 31%)
HSVhsv(1, 75%, 49%)
CMYKcmyk(0%, 73%, 74.6%, 50.6%)
CIE-LABlab(28.60, 39.27, 24.43)
CIE-LCHlch(28.60, 46.25, 31.88°)
OKLaboklab(39.96% 0.1139 0.0557)
OKLCHoklch(39.96% 0.127 26)
XYZxyz(9.4380, 5.6854, 1.9666)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2220 #207C7E
analogous
#7E204D #7E2220 #7E5120
triadic
#7E2220 #207E22 #22207E
tetradic
#7E2220 #4D7E20 #207C7E #51207E
square
#7E2220 #4D7E20 #207C7E #51207E
split-complementary
#7E2220 #207E51 #204D7E
monochromatic
#1C0807 #4D1514 #7E2220 #AF2F2C #D04B48

Accessibility & contrast

On white

9.83
#7E2220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2220
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2220#FFFFFF#000000##FFFFFF
##7E22201.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371F
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#8B0223
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2220;
/* rgb */ color: rgb(126, 34, 32);
/* oklch */ color: oklch(40.0% 0.127 26.0);
Tailwind
colors: {
  custom: {
    50: '#aa645b',
    500: '#7e2220',
    950: '#000000',
  },
}
SCSS
$custom: #7e2220;
$custom-light: #aa645b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2220",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 32
  },
  "hsl": {
    "h": 1.277,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.1268,
    "h": 26
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#7E2220
secondary
#49AFB1
accent
#DFE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2220

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

Preview Lab → · Contrast checker → · Palette generator →

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