#7E1022#7E1022

#7E1022 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 19.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1022
RGBrgb(126, 16, 34)
HSLhsl(350, 77%, 28%)
HSVhsv(350, 87%, 49%)
CMYKcmyk(0%, 87.3%, 73%, 50.6%)
CIE-LABlab(26.51, 45.31, 20.66)
CIE-LCHlch(26.51, 49.80, 24.51°)
OKLaboklab(38.42% 0.1336 0.0478)
OKLCHoklch(38.42% 0.142 19.7)
XYZxyz(9.0793, 4.9232, 1.9853)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1022 #107E6C
analogous
#7E1059 #7E1022 #7E3510
triadic
#7E1022 #227E10 #10227E
tetradic
#7E1022 #597E10 #107E6C #35107E
square
#7E1022 #597E10 #107E6C #35107E
split-complementary
#7E1022 #107E35 #10597E
monochromatic
#1B0307 #480913 #7E1022 #B41731 #E32544

Accessibility & contrast

On white

10.58
#7E1022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1022
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1022#FFFFFF#000000##FFFFFF
##7E10221.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343022
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1022;
/* rgb */ color: rgb(126, 16, 34);
/* oklch */ color: oklch(38.4% 0.142 19.7);
Tailwind
colors: {
  custom: {
    50: '#ab5d5c',
    500: '#7e1022',
    950: '#000000',
  },
}
SCSS
$custom: #7e1022;
$custom-light: #ab5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1022",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 350.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.14191,
    "h": 19.7
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#7E1022
secondary
#36B4A0
accent
#F4D534
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1022

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

Preview Lab → · Contrast checker → · Palette generator →

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