#7E222D#7E222D

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

Color values

HEX#7E222D
RGBrgb(126, 34, 45)
HSLhsl(353, 58%, 31%)
HSVhsv(353, 73%, 49%)
CMYKcmyk(0%, 73%, 64.3%, 50.6%)
CIE-LABlab(28.83, 40.05, 16.30)
CIE-LCHlch(28.83, 43.24, 22.14°)
OKLaboklab(40.2% 0.1193 0.0394)
OKLCHoklch(40.2% 0.126 18.3)
XYZxyz(9.6508, 5.7705, 3.0878)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E222D #227E73
analogous
#7E225B #7E222D #7E4522
triadic
#7E222D #2D7E22 #222D7E
tetradic
#7E222D #5B7E22 #227E73 #45227E
square
#7E222D #5B7E22 #227E73 #45227E
split-complementary
#7E222D #227E45 #225B7E
monochromatic
#1E080B #4E151C #7E222D #AE2F3E #CF4C5B

Accessibility & contrast

On white

9.75
#7E222D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E222D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E222D#FFFFFF#000000##FFFFFF
##7E222D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e222d;
/* rgb */ color: rgb(126, 34, 45);
/* oklch */ color: oklch(40.2% 0.126 18.3);
Tailwind
colors: {
  custom: {
    50: '#a96465',
    500: '#7e222d',
    950: '#000000',
  },
}
SCSS
$custom: #7e222d;
$custom-light: #a96465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e222d",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 352.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.1256,
    "h": 18.3
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#7E222D
secondary
#4BB1A4
accent
#E1CE47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E222D

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

Preview Lab → · Contrast checker → · Palette generator →

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