#7E201F#7E201F

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

Color values

HEX#7E201F
RGBrgb(126, 32, 31)
HSLhsl(1, 61%, 31%)
HSVhsv(1, 75%, 49%)
CMYKcmyk(0%, 74.6%, 75.4%, 50.6%)
CIE-LABlab(28.30, 40.03, 24.70)
CIE-LCHlch(28.30, 47.04, 31.68°)
OKLaboklab(39.73% 0.1161 0.056)
OKLCHoklch(39.73% 0.129 25.8)
XYZxyz(9.3691, 5.5690, 1.8777)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E201F #1F7D7E
analogous
#7E1F4D #7E201F #7E4F1F
triadic
#7E201F #1F7E20 #201F7E
tetradic
#7E201F #4D7E1F #1F7D7E #4F1F7E
square
#7E201F #4D7E1F #1F7D7E #4F1F7E
split-complementary
#7E201F #1F7E4F #1F4D7E
monochromatic
#1C0707 #4D1413 #7E201F #AF2C2B #D14746

Accessibility & contrast

On white

9.94
#7E201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E201F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E201F#FFFFFF#000000##FFFFFF
##7E201F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B361E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e201f;
/* rgb */ color: rgb(126, 32, 31);
/* oklch */ color: oklch(39.7% 0.129 25.8);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7e201f',
    950: '#000000',
  },
}
SCSS
$custom: #7e201f;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e201f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.12891,
    "h": 25.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#7E201F
secondary
#48B0B1
accent
#E2E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E201F

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

Preview Lab → · Contrast checker → · Palette generator →

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