#7E202B#7E202B

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

Color values

HEX#7E202B
RGBrgb(126, 32, 43)
HSLhsl(353, 59%, 31%)
HSVhsv(353, 75%, 49%)
CMYKcmyk(0%, 74.6%, 65.9%, 50.6%)
CIE-LABlab(28.50, 40.71, 17.19)
CIE-LCHlch(28.50, 44.19, 22.89°)
OKLaboklab(39.94% 0.121 0.0412)
OKLCHoklch(39.94% 0.128 18.8)
XYZxyz(9.5577, 5.6445, 2.8712)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202B #207E73
analogous
#7E205A #7E202B #7E4420
triadic
#7E202B #2B7E20 #202B7E
tetradic
#7E202B #5A7E20 #207E73 #44207E
square
#7E202B #5A7E20 #207E73 #44207E
split-complementary
#7E202B #207E44 #205A7E
monochromatic
#1C070A #4D141A #7E202B #AF2C3C #D04858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E202B#FFFFFF#000000##FFFFFF
##7E202B1.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)
#3A372B
Deuteranopia (green-blind)
#524A28
Tritanopia (blue-blind)
#8B0225
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202b;
/* rgb */ color: rgb(126, 32, 43);
/* oklch */ color: oklch(39.9% 0.128 18.8);
Tailwind
colors: {
  custom: {
    50: '#aa6364',
    500: '#7e202b',
    950: '#000000',
  },
}
SCSS
$custom: #7e202b;
$custom-light: #aa6364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 43
  },
  "hsl": {
    "h": 352.979,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.12781,
    "h": 18.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#7E202B
secondary
#49B1A5
accent
#E3D045
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E202B

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

Preview Lab → · Contrast checker → · Palette generator →

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