#7E222E#7E222E

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

Color values

HEX#7E222E
RGBrgb(126, 34, 46)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 73%, 49%)
CMYKcmyk(0%, 73%, 63.5%, 50.6%)
CIE-LABlab(28.85, 40.12, 15.66)
CIE-LCHlch(28.85, 43.07, 21.33°)
OKLaboklab(40.22% 0.1197 0.038)
OKLCHoklch(40.22% 0.126 17.6)
XYZxyz(9.6703, 5.7783, 3.1904)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E222E #227E72
analogous
#7E225C #7E222E #7E4422
triadic
#7E222E #2E7E22 #222E7E
tetradic
#7E222E #5C7E22 #227E72 #44227E
square
#7E222E #5C7E22 #227E72 #44227E
split-complementary
#7E222E #227E44 #225C7E
monochromatic
#1E080B #4E151C #7E222E #AE2F40 #CF4C5D

Accessibility & contrast

On white

9.74
#7E222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E222E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E222E#FFFFFF#000000##FFFFFF
##7E222E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A382E
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#8A0827
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e222e;
/* rgb */ color: rgb(126, 34, 46);
/* oklch */ color: oklch(40.2% 0.126 17.6);
Tailwind
colors: {
  custom: {
    50: '#a96466',
    500: '#7e222e',
    950: '#000000',
  },
}
SCSS
$custom: #7e222e;
$custom-light: #a96466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e222e",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 352.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.12559,
    "h": 17.6
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#7E222E
secondary
#4BB1A3
accent
#E1CD47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E222E

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

Preview Lab → · Contrast checker → · Palette generator →

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