#7E202D#7E202D

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

Color values

HEX#7E202D
RGBrgb(126, 32, 45)
HSLhsl(352, 59%, 31%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 74.6%, 64.3%, 50.6%)
CIE-LABlab(28.54, 40.85, 15.92)
CIE-LCHlch(28.54, 43.84, 21.29°)
OKLaboklab(39.99% 0.1218 0.0385)
OKLCHoklch(39.99% 0.128 17.6)
XYZxyz(9.5953, 5.6595, 3.0692)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202D #207E71
analogous
#7E205C #7E202D #7E4220
triadic
#7E202D #2D7E20 #202D7E
tetradic
#7E202D #5C7E20 #207E71 #42207E
square
#7E202D #5C7E20 #207E71 #42207E
split-complementary
#7E202D #207E42 #205C7E
monochromatic
#1C070A #4D141C #7E202D #AF2C3E #D0485B

Accessibility & contrast

On white

9.85
#7E202D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E202D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E202D#FFFFFF#000000##FFFFFF
##7E202D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8A0326
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202d;
/* rgb */ color: rgb(126, 32, 45);
/* oklch */ color: oklch(40.0% 0.128 17.6);
Tailwind
colors: {
  custom: {
    50: '#a96365',
    500: '#7e202d',
    950: '#000000',
  },
}
SCSS
$custom: #7e202d;
$custom-light: #a96365;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 45
  },
  "hsl": {
    "h": 351.702,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.12777,
    "h": 17.6
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#7E202D
secondary
#49B1A3
accent
#E3CD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E202D

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

Preview Lab → · Contrast checker → · Palette generator →

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