#7E202E#7E202E

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

Color values

HEX#7E202E
RGBrgb(126, 32, 46)
HSLhsl(351, 59%, 31%)
HSVhsv(351, 75%, 49%)
CMYKcmyk(0%, 74.6%, 63.5%, 50.6%)
CIE-LABlab(28.56, 40.92, 15.28)
CIE-LCHlch(28.56, 43.68, 20.48°)
OKLaboklab(40.01% 0.1222 0.0372)
OKLCHoklch(40.01% 0.128 16.9)
XYZxyz(9.6148, 5.6673, 3.1719)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202E #207E70
analogous
#7E205D #7E202E #7E4120
triadic
#7E202E #2E7E20 #202E7E
tetradic
#7E202E #5D7E20 #207E70 #41207E
square
#7E202E #5D7E20 #207E70 #41207E
split-complementary
#7E202E #207E41 #205D7E
monochromatic
#1C070A #4D141C #7E202E #AF2C40 #D0485C

Accessibility & contrast

On white

9.84
#7E202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E202E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E202E#FFFFFF#000000##FFFFFF
##7E202E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372E
Deuteranopia (green-blind)
#514B2B
Tritanopia (blue-blind)
#8A0426
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202e;
/* rgb */ color: rgb(126, 32, 46);
/* oklch */ color: oklch(40.0% 0.128 16.9);
Tailwind
colors: {
  custom: {
    50: '#a96366',
    500: '#7e202e',
    950: '#000000',
  },
}
SCSS
$custom: #7e202e;
$custom-light: #a96366;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 351.064,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.12776,
    "h": 16.9
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#7E202E
secondary
#49B1A1
accent
#E3CB45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E202E

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

Preview Lab → · Contrast checker → · Palette generator →

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