#7E2224#7E2224

#7E2224 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 23.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2224
RGBrgb(126, 34, 36)
HSLhsl(359, 58%, 31%)
HSVhsv(359, 73%, 49%)
CMYKcmyk(0%, 73%, 71.4%, 50.6%)
CIE-LABlab(28.66, 39.49, 21.96)
CIE-LCHlch(28.66, 45.18, 29.08°)
OKLaboklab(40.03% 0.1155 0.051)
OKLCHoklch(40.03% 0.126 23.8)
XYZxyz(9.4957, 5.7085, 2.2706)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2224 #227E7C
analogous
#7E2252 #7E2224 #7E4E22
triadic
#7E2224 #247E22 #22247E
tetradic
#7E2224 #527E22 #227E7C #4E227E
square
#7E2224 #527E22 #227E7C #4E227E
split-complementary
#7E2224 #227E4E #22527E
monochromatic
#1E0808 #4E1516 #7E2224 #AE2F32 #CF4C4F

Accessibility & contrast

On white

9.81
#7E2224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2224
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2224#FFFFFF#000000##FFFFFF
##7E22241.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#8B0424
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2224;
/* rgb */ color: rgb(126, 34, 36);
/* oklch */ color: oklch(40.0% 0.126 23.8);
Tailwind
colors: {
  custom: {
    50: '#aa645e',
    500: '#7e2224',
    950: '#000000',
  },
}
SCSS
$custom: #7e2224;
$custom-light: #aa645e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2224",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 36
  },
  "hsl": {
    "h": 358.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.12627,
    "h": 23.8
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#7E2224
secondary
#4BB1AE
accent
#E1DD47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2224

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

Preview Lab → · Contrast checker → · Palette generator →

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