#7E201B#7E201B

#7E201B is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 27.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7E201B
RGBrgb(126, 32, 27)
HSLhsl(3, 65%, 30%)
HSVhsv(3, 79%, 49%)
CMYKcmyk(0%, 74.6%, 78.6%, 50.6%)
CIE-LABlab(28.25, 39.85, 27.12)
CIE-LCHlch(28.25, 48.21, 34.24°)
OKLaboklab(39.67% 0.1146 0.0603)
OKLCHoklch(39.67% 0.13 27.7)
XYZxyz(9.3196, 5.5492, 1.6171)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E201B #1B797E
analogous
#7E1B48 #7E201B #7E511B
triadic
#7E201B #1B7E20 #201B7E
tetradic
#7E201B #487E1B #1B797E #511B7E
square
#7E201B #487E1B #1B797E #511B7E
split-complementary
#7E201B #1B7E51 #1B487E
monochromatic
#190605 #4C1310 #7E201B #B02D26 #D6453E

Accessibility & contrast

On white

9.95
#7E201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E201B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E201B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E201B#FFFFFF#000000##FFFFFF
##7E201B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361A
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e201b;
/* rgb */ color: rgb(126, 32, 27);
/* oklch */ color: oklch(39.7% 0.130 27.7);
Tailwind
colors: {
  custom: {
    50: '#ab6358',
    500: '#7e201b',
    950: '#000000',
  },
}
SCSS
$custom: #7e201b;
$custom-light: #ab6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7e201b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 3.03,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.12951,
    "h": 27.7
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#7E201B
secondary
#43ACB2
accent
#DFE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E201B

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

Preview Lab → · Contrast checker → · Palette generator →

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