#7E1E13#7E1E13

#7E1E13 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 30.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7E1E13
RGBrgb(126, 30, 19)
HSLhsl(6, 74%, 28%)
HSVhsv(6, 85%, 49%)
CMYKcmyk(0%, 76.2%, 84.9%, 50.6%)
CIE-LABlab(27.88, 40.33, 31.43)
CIE-LCHlch(27.88, 51.13, 37.93°)
OKLaboklab(39.37% 0.1144 0.067)
OKLCHoklch(39.37% 0.133 30.4)
XYZxyz(9.1871, 5.4126, 1.1770)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E13 #13737E
analogous
#7E133D #7E1E13 #7E5313
triadic
#7E1E13 #137E1E #1E137E
tetradic
#7E1E13 #3D7E13 #13737E #53137E
square
#7E1E13 #3D7E13 #13737E #53137E
split-complementary
#7E1E13 #137E53 #133D7E
monochromatic
#1B0604 #49110B #7E1E13 #B32B1B #DF3F2C

Accessibility & contrast

On white

10.09
#7E1E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E13
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E13#FFFFFF#000000##FFFFFF
##7E1E131.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3411
Deuteranopia (green-blind)
#53490E
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e13;
/* rgb */ color: rgb(126, 30, 19);
/* oklch */ color: oklch(39.4% 0.133 30.4);
Tailwind
colors: {
  custom: {
    50: '#ac6252',
    500: '#7e1e13',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e13;
$custom-light: #ac6252;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e13",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 19
  },
  "hsl": {
    "h": 6.168,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.13261,
    "h": 30.4
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#7E1E13
secondary
#39A7B4
accent
#DDF037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1E13

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

Preview Lab → · Contrast checker → · Palette generator →

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