#7E222B#7E222B

#7E222B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 19.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E222B
RGBrgb(126, 34, 43)
HSLhsl(354, 58%, 31%)
HSVhsv(354, 73%, 49%)
CMYKcmyk(0%, 73%, 65.9%, 50.6%)
CIE-LABlab(28.79, 39.91, 17.56)
CIE-LCHlch(28.79, 43.60, 23.75°)
OKLaboklab(40.16% 0.1184 0.0421)
OKLCHoklch(40.16% 0.126 19.6)
XYZxyz(9.6132, 5.7555, 2.8897)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E222B #227E75
analogous
#7E2259 #7E222B #7E4722
triadic
#7E222B #2B7E22 #222B7E
tetradic
#7E222B #597E22 #227E75 #47227E
square
#7E222B #597E22 #227E75 #47227E
split-complementary
#7E222B #227E47 #22597E
monochromatic
#1E080A #4E151B #7E222B #AE2F3B #CF4C59

Accessibility & contrast

On white

9.76
#7E222B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E222B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E222B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E222B#FFFFFF#000000##FFFFFF
##7E222B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372B
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#8B0726
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e222b;
/* rgb */ color: rgb(126, 34, 43);
/* oklch */ color: oklch(40.2% 0.126 19.6);
Tailwind
colors: {
  custom: {
    50: '#aa6464',
    500: '#7e222b',
    950: '#000000',
  },
}
SCSS
$custom: #7e222b;
$custom-light: #aa6464;
$custom-dark: #000000;
JSON
{
  "hex": "#7e222b",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 354.13,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.12568,
    "h": 19.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#7E222B
secondary
#4BB1A7
accent
#E1D247
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E222B

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

Preview Lab → · Contrast checker → · Palette generator →

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