#7E1C22#7E1C22

#7E1C22 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 22.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7E1C22
RGBrgb(126, 28, 34)
HSLhsl(356, 64%, 30%)
HSVhsv(356, 78%, 49%)
CMYKcmyk(0%, 77.8%, 73%, 50.6%)
CIE-LABlab(27.80, 41.69, 22.21)
CIE-LCHlch(27.80, 47.23, 28.04°)
OKLaboklab(39.37% 0.1221 0.0512)
OKLCHoklch(39.37% 0.132 22.8)
XYZxyz(9.3092, 5.3830, 2.0619)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C22 #1C7E78
analogous
#7E1C53 #7E1C22 #7E471C
triadic
#7E1C22 #227E1C #1C227E
tetradic
#7E1C22 #537E1C #1C7E78 #471C7E
square
#7E1C22 #537E1C #1C7E78 #471C7E
split-complementary
#7E1C22 #1C7E47 #1C537E
monochromatic
#1A0607 #4C1114 #7E1C22 #B02730 #D54049

Accessibility & contrast

On white

10.11
#7E1C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C22
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C22#FFFFFF#000000##FFFFFF
##7E1C221.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393421
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1c22;
/* rgb */ color: rgb(126, 28, 34);
/* oklch */ color: oklch(39.4% 0.132 22.8);
Tailwind
colors: {
  custom: {
    50: '#ab615d',
    500: '#7e1c22',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c22;
$custom-light: #ab615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c22",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 34
  },
  "hsl": {
    "h": 356.327,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.13235,
    "h": 22.8
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#7E1C22
secondary
#44B2AB
accent
#E7DD41
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1C22

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

Preview Lab → · Contrast checker → · Palette generator →

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