#7E202C#7E202C

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

Color values

HEX#7E202C
RGBrgb(126, 32, 44)
HSLhsl(352, 59%, 31%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 74.6%, 65.1%, 50.6%)
CIE-LABlab(28.52, 40.78, 16.55)
CIE-LCHlch(28.52, 44.01, 22.10°)
OKLaboklab(39.96% 0.1214 0.0399)
OKLCHoklch(39.96% 0.128 18.2)
XYZxyz(9.5763, 5.6519, 2.9691)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202C #207E72
analogous
#7E205B #7E202C #7E4320
triadic
#7E202C #2C7E20 #202C7E
tetradic
#7E202C #5B7E20 #207E72 #43207E
square
#7E202C #5B7E20 #207E72 #43207E
split-complementary
#7E202C #207E43 #205B7E
monochromatic
#1C070A #4D141B #7E202C #AF2C3D #D04859

Accessibility & contrast

On white

9.86
#7E202C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E202C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E202C#FFFFFF#000000##FFFFFF
##7E202C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#524A29
Tritanopia (blue-blind)
#8B0325
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202c;
/* rgb */ color: rgb(126, 32, 44);
/* oklch */ color: oklch(40.0% 0.128 18.2);
Tailwind
colors: {
  custom: {
    50: '#aa6364',
    500: '#7e202c',
    950: '#000000',
  },
}
SCSS
$custom: #7e202c;
$custom-light: #aa6364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 44
  },
  "hsl": {
    "h": 352.34,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.12778,
    "h": 18.2
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#7E202C
secondary
#49B1A4
accent
#E3CF45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E202C

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

Preview Lab → · Contrast checker → · Palette generator →

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