#7E201C#7E201C

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

Color values

HEX#7E201C
RGBrgb(126, 32, 28)
HSLhsl(2, 64%, 30%)
HSVhsv(2, 78%, 49%)
CMYKcmyk(0%, 74.6%, 77.8%, 50.6%)
CIE-LABlab(28.26, 39.89, 26.53)
CIE-LCHlch(28.26, 47.91, 33.62°)
OKLaboklab(39.69% 0.115 0.0593)
OKLCHoklch(39.69% 0.129 27.3)
XYZxyz(9.3314, 5.5539, 1.6791)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E201C #1C7A7E
analogous
#7E1C49 #7E201C #7E511C
triadic
#7E201C #1C7E20 #201C7E
tetradic
#7E201C #497E1C #1C7A7E #511C7E
square
#7E201C #497E1C #1C7A7E #511C7E
split-complementary
#7E201C #1C7E51 #1C497E
monochromatic
#1A0706 #4C1311 #7E201C #B02D27 #D54640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E201C#FFFFFF#000000##FFFFFF
##7E201C1.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)
#3C361B
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e201c;
/* rgb */ color: rgb(126, 32, 28);
/* oklch */ color: oklch(39.7% 0.129 27.3);
Tailwind
colors: {
  custom: {
    50: '#ab6358',
    500: '#7e201c',
    950: '#000000',
  },
}
SCSS
$custom: #7e201c;
$custom-light: #ab6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7e201c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 28
  },
  "hsl": {
    "h": 2.449,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.12935,
    "h": 27.3
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#7E201C
secondary
#44ADB2
accent
#E0E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E201C

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

Preview Lab → · Contrast checker → · Palette generator →

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