#7E2120#7E2120

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

Color values

HEX#7E2120
RGBrgb(126, 33, 32)
HSLhsl(1, 59%, 31%)
HSVhsv(1, 75%, 49%)
CMYKcmyk(0%, 73.8%, 74.6%, 50.6%)
CIE-LABlab(28.46, 39.68, 24.26)
CIE-LCHlch(28.46, 46.51, 31.44°)
OKLaboklab(39.85% 0.1152 0.0553)
OKLCHoklch(39.85% 0.128 25.6)
XYZxyz(9.4098, 5.6290, 1.9573)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2120 #207D7E
analogous
#7E204E #7E2120 #7E5020
triadic
#7E2120 #207E21 #21207E
tetradic
#7E2120 #4E7E20 #207D7E #50207E
square
#7E2120 #4E7E20 #207D7E #50207E
split-complementary
#7E2120 #207E50 #204E7E
monochromatic
#1C0707 #4D1414 #7E2120 #AF2E2C #D04948

Accessibility & contrast

On white

9.88
#7E2120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2120
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2120#FFFFFF#000000##FFFFFF
##7E21201.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361F
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2120;
/* rgb */ color: rgb(126, 33, 32);
/* oklch */ color: oklch(39.9% 0.128 25.6);
Tailwind
colors: {
  custom: {
    50: '#aa635b',
    500: '#7e2120',
    950: '#000000',
  },
}
SCSS
$custom: #7e2120;
$custom-light: #aa635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2120",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 32
  },
  "hsl": {
    "h": 0.638,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.1278,
    "h": 25.6
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#7E2120
secondary
#49B0B1
accent
#E1E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2120

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

Preview Lab → · Contrast checker → · Palette generator →

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