#7E2213#7E2213

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

Color values

HEX#7E2213
RGBrgb(126, 34, 19)
HSLhsl(8, 74%, 28%)
HSVhsv(8, 85%, 49%)
CMYKcmyk(0%, 73%, 84.9%, 50.6%)
CIE-LABlab(28.45, 38.75, 31.98)
CIE-LCHlch(28.45, 50.24, 39.53°)
OKLaboklab(39.8% 0.1095 0.0682)
OKLCHoklch(39.8% 0.129 31.9)
XYZxyz(9.2949, 5.6281, 1.2129)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2213 #136F7E
analogous
#7E1339 #7E2213 #7E5713
triadic
#7E2213 #137E22 #22137E
tetradic
#7E2213 #397E13 #136F7E #57137E
square
#7E2213 #397E13 #136F7E #57137E
split-complementary
#7E2213 #137E57 #13397E
monochromatic
#1B0704 #49140B #7E2213 #B3301B #DF452C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2213#FFFFFF#000000##FFFFFF
##7E22131.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)
#3D3610
Deuteranopia (green-blind)
#544B0E
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2213;
/* rgb */ color: rgb(126, 34, 19);
/* oklch */ color: oklch(39.8% 0.129 31.9);
Tailwind
colors: {
  custom: {
    50: '#ab6452',
    500: '#7e2213',
    950: '#000000',
  },
}
SCSS
$custom: #7e2213;
$custom-light: #ab6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2213",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 19
  },
  "hsl": {
    "h": 8.411,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.12901,
    "h": 31.9
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#7E2213
secondary
#39A2B4
accent
#D7F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2213

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

Preview Lab → · Contrast checker → · Palette generator →

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