#7E2122#7E2122

#7E2122 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 24.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E2122
RGBrgb(126, 33, 34)
HSLhsl(359, 58%, 31%)
HSVhsv(359, 74%, 49%)
CMYKcmyk(0%, 73.8%, 73%, 50.6%)
CIE-LABlab(28.49, 39.78, 23.02)
CIE-LCHlch(28.49, 45.97, 30.06°)
OKLaboklab(39.89% 0.116 0.053)
OKLCHoklch(39.89% 0.128 24.5)
XYZxyz(9.4378, 5.6402, 2.1048)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2122 #217E7D
analogous
#7E2150 #7E2122 #7E4E21
triadic
#7E2122 #227E21 #21227E
tetradic
#7E2122 #507E21 #217E7D #4E217E
square
#7E2122 #507E21 #217E7D #4E217E
split-complementary
#7E2122 #217E4E #21507E
monochromatic
#1D0808 #4E1415 #7E2122 #AE2E2F #D04A4B

Accessibility & contrast

On white

9.87
#7E2122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2122
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2122#FFFFFF#000000##FFFFFF
##7E21221.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3621
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#8B0122
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2122;
/* rgb */ color: rgb(126, 33, 34);
/* oklch */ color: oklch(39.9% 0.128 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa635d',
    500: '#7e2122',
    950: '#000000',
  },
}
SCSS
$custom: #7e2122;
$custom-light: #aa635d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2122",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 34
  },
  "hsl": {
    "h": 359.355,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.12754,
    "h": 24.5
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#7E2122
secondary
#4AB1B0
accent
#E2E046
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2122

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

Preview Lab → · Contrast checker → · Palette generator →

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