#7E222F#7E222F

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

Color values

HEX#7E222F
RGBrgb(126, 34, 47)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 73%, 49%)
CMYKcmyk(0%, 73%, 62.7%, 50.6%)
CIE-LABlab(28.87, 40.19, 15.03)
CIE-LCHlch(28.87, 42.91, 20.50°)
OKLaboklab(40.24% 0.1201 0.0367)
OKLCHoklch(40.24% 0.126 17)
XYZxyz(9.6903, 5.7863, 3.2954)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E222F #227E71
analogous
#7E225D #7E222F #7E4322
triadic
#7E222F #2F7E22 #222F7E
tetradic
#7E222F #5D7E22 #227E71 #43227E
square
#7E222F #5D7E22 #227E71 #43227E
split-complementary
#7E222F #227E43 #225D7E
monochromatic
#1E080B #4E151D #7E222F #AE2F41 #CF4C5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E222F#FFFFFF#000000##FFFFFF
##7E222F1.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)
#3A382F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#8A0927
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e222f;
/* rgb */ color: rgb(126, 34, 47);
/* oklch */ color: oklch(40.2% 0.126 17.0);
Tailwind
colors: {
  custom: {
    50: '#a96467',
    500: '#7e222f',
    950: '#000000',
  },
}
SCSS
$custom: #7e222f;
$custom-light: #a96467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e222f",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 351.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40245,
    "c": 0.12558,
    "h": 17
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7E222F
secondary
#4BB1A2
accent
#E1CB47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E222F

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

Preview Lab → · Contrast checker → · Palette generator →

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