#7E221E#7E221E

#7E221E is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.127 H 27.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E221E
RGBrgb(126, 34, 30)
HSLhsl(3, 62%, 31%)
HSVhsv(3, 76%, 49%)
CMYKcmyk(0%, 73%, 76.2%, 50.6%)
CIE-LABlab(28.58, 39.18, 25.65)
CIE-LCHlch(28.58, 46.83, 33.21°)
OKLaboklab(39.93% 0.1132 0.0579)
OKLCHoklch(39.93% 0.127 27.1)
XYZxyz(9.4116, 5.6748, 1.8278)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E221E #1E7A7E
analogous
#7E1E4A #7E221E #7E521E
triadic
#7E221E #1E7E22 #221E7E
tetradic
#7E221E #4A7E1E #1E7A7E #521E7E
square
#7E221E #4A7E1E #1E7A7E #521E7E
split-complementary
#7E221E #1E7E52 #1E4A7E
monochromatic
#1B0706 #4D1512 #7E221E #AF2F2A #D24A44

Accessibility & contrast

On white

9.84
#7E221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E221E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E221E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E221E#FFFFFF#000000##FFFFFF
##7E221E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371D
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#8B0122
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e221e;
/* rgb */ color: rgb(126, 34, 30);
/* oklch */ color: oklch(39.9% 0.127 27.1);
Tailwind
colors: {
  custom: {
    50: '#ab645a',
    500: '#7e221e',
    950: '#000000',
  },
}
SCSS
$custom: #7e221e;
$custom-light: #ab645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e221e",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 2.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.12711,
    "h": 27.1
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7E221E
secondary
#47ADB1
accent
#DEE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E221E

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

Preview Lab → · Contrast checker → · Palette generator →

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