#7E2214#7E2214

#7E2214 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.129 H 31.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E2214
RGBrgb(126, 34, 20)
HSLhsl(8, 73%, 29%)
HSVhsv(8, 84%, 49%)
CMYKcmyk(0%, 73%, 84.1%, 50.6%)
CIE-LABlab(28.46, 38.78, 31.44)
CIE-LCHlch(28.46, 49.92, 39.03°)
OKLaboklab(39.81% 0.1098 0.0674)
OKLCHoklch(39.81% 0.129 31.6)
XYZxyz(9.3036, 5.6316, 1.2588)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2214 #14707E
analogous
#7E143B #7E2214 #7E5714
triadic
#7E2214 #147E22 #22147E
tetradic
#7E2214 #3B7E14 #14707E #57147E
square
#7E2214 #3B7E14 #14707E #57147E
split-complementary
#7E2214 #147E57 #143B7E
monochromatic
#1A0704 #49140C #7E2214 #B3301C #DE462E

Accessibility & contrast

On white

9.88
#7E2214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2214
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2214#FFFFFF#000000##FFFFFF
##7E22141.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3611
Deuteranopia (green-blind)
#544B10
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2214;
/* rgb */ color: rgb(126, 34, 20);
/* oklch */ color: oklch(39.8% 0.129 31.6);
Tailwind
colors: {
  custom: {
    50: '#ab6453',
    500: '#7e2214',
    950: '#000000',
  },
}
SCSS
$custom: #7e2214;
$custom-light: #ab6453;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2214",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 20
  },
  "hsl": {
    "h": 7.925,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.12883,
    "h": 31.6
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#7E2214
secondary
#3AA3B3
accent
#D7EF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2214

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

Preview Lab → · Contrast checker → · Palette generator →

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