#7E2215#7E2215

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

Color values

HEX#7E2215
RGBrgb(126, 34, 21)
HSLhsl(7, 71%, 29%)
HSVhsv(7, 83%, 49%)
CMYKcmyk(0%, 73%, 83.3%, 50.6%)
CIE-LABlab(28.47, 38.81, 30.89)
CIE-LCHlch(28.47, 49.60, 38.51°)
OKLaboklab(39.82% 0.1101 0.0666)
OKLCHoklch(39.82% 0.129 31.2)
XYZxyz(9.3127, 5.6352, 1.3067)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2215 #15717E
analogous
#7E153D #7E2215 #7E5715
triadic
#7E2215 #157E22 #22157E
tetradic
#7E2215 #3D7E15 #15717E #57157E
square
#7E2215 #3D7E15 #15717E #57157E
split-complementary
#7E2215 #157E57 #153D7E
monochromatic
#1A0704 #4A140C #7E2215 #B2301E #DD4631

Accessibility & contrast

On white

9.87
#7E2215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2215
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2215#FFFFFF#000000##FFFFFF
##7E22151.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2215;
/* rgb */ color: rgb(126, 34, 21);
/* oklch */ color: oklch(39.8% 0.129 31.2);
Tailwind
colors: {
  custom: {
    50: '#ab6453',
    500: '#7e2215',
    950: '#000000',
  },
}
SCSS
$custom: #7e2215;
$custom-light: #ab6453;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2215",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 21
  },
  "hsl": {
    "h": 7.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.12866,
    "h": 31.2
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#7E2215
secondary
#3CA4B3
accent
#D8EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2215

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

Preview Lab → · Contrast checker → · Palette generator →

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