#7E1222#7E1222

#7E1222 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 20.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7E1222
RGBrgb(126, 18, 34)
HSLhsl(351, 75%, 28%)
HSVhsv(351, 86%, 49%)
CMYKcmyk(0%, 85.7%, 73%, 50.6%)
CIE-LABlab(26.69, 44.80, 20.88)
CIE-LCHlch(26.69, 49.43, 24.98°)
OKLaboklab(38.55% 0.132 0.0482)
OKLCHoklch(38.55% 0.141 20.1)
XYZxyz(9.1103, 4.9852, 1.9956)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1222 #127E6E
analogous
#7E1258 #7E1222 #7E3812
triadic
#7E1222 #227E12 #12227E
tetradic
#7E1222 #587E12 #127E6E #38127E
square
#7E1222 #587E12 #127E6E #38127E
split-complementary
#7E1222 #127E38 #12587E
monochromatic
#1B0407 #480A14 #7E1222 #B41A30 #E12A45

Accessibility & contrast

On white

10.52
#7E1222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1222
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1222#FFFFFF#000000##FFFFFF
##7E12221.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1222;
/* rgb */ color: rgb(126, 18, 34);
/* oklch */ color: oklch(38.6% 0.141 20.1);
Tailwind
colors: {
  custom: {
    50: '#ab5d5c',
    500: '#7e1222',
    950: '#000000',
  },
}
SCSS
$custom: #7e1222;
$custom-light: #ab5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1222",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 351.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38553,
    "c": 0.14054,
    "h": 20.1
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#7E1222
secondary
#38B4A1
accent
#F2D636
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1222

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

Preview Lab → · Contrast checker → · Palette generator →

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