#7E1213#7E1213

#7E1213 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 26.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#7E1213
RGBrgb(126, 18, 19)
HSLhsl(359, 75%, 28%)
HSVhsv(359, 86%, 49%)
CMYKcmyk(0%, 85.7%, 84.9%, 50.6%)
CIE-LABlab(26.50, 44.21, 30.11)
CIE-LCHlch(26.50, 53.49, 34.26°)
OKLaboklab(38.35% 0.1266 0.0641)
OKLCHoklch(38.35% 0.142 26.9)
XYZxyz(8.9392, 4.9167, 1.0943)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1213 #127E7D
analogous
#7E1249 #7E1213 #7E4712
triadic
#7E1213 #137E12 #12137E
tetradic
#7E1213 #497E12 #127E7D #47127E
square
#7E1213 #497E12 #127E7D #47127E
split-complementary
#7E1213 #127E47 #12497E
monochromatic
#1B0404 #480A0B #7E1213 #B41A1B #E12A2C

Accessibility & contrast

On white

10.59
#7E1213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1213
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1213#FFFFFF#000000##FFFFFF
##7E12131.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363011
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#8C0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1213;
/* rgb */ color: rgb(126, 18, 19);
/* oklch */ color: oklch(38.3% 0.142 26.9);
Tailwind
colors: {
  custom: {
    50: '#ac5d51',
    500: '#7e1213',
    950: '#000000',
  },
}
SCSS
$custom: #7e1213;
$custom-light: #ac5d51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1213",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.14188,
    "h": 26.9
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#7E1213
secondary
#38B4B3
accent
#F2F036
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1213

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

Preview Lab → · Contrast checker → · Palette generator →

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