#7E1A14#7E1A14

#7E1A14 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 28.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7E1A14
RGBrgb(126, 26, 20)
HSLhsl(3, 73%, 29%)
HSVhsv(3, 84%, 49%)
CMYKcmyk(0%, 79.4%, 84.1%, 50.6%)
CIE-LABlab(27.37, 41.81, 30.38)
CIE-LCHlch(27.37, 51.68, 36.00°)
OKLaboklab(39% 0.1192 0.0651)
OKLCHoklch(39% 0.136 28.6)
XYZxyz(9.1010, 5.2264, 1.1913)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A14 #14787E
analogous
#7E1443 #7E1A14 #7E4F14
triadic
#7E1A14 #147E1A #1A147E
tetradic
#7E1A14 #437E14 #14787E #4F147E
square
#7E1A14 #437E14 #14787E #4F147E
split-complementary
#7E1A14 #147E4F #14437E
monochromatic
#1A0504 #490F0C #7E1A14 #B3251C #DE382E

Accessibility & contrast

On white

10.27
#7E1A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A14
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A14#FFFFFF#000000##FFFFFF
##7E1A141.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393312
Deuteranopia (green-blind)
#52490F
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a14;
/* rgb */ color: rgb(126, 26, 20);
/* oklch */ color: oklch(39.0% 0.136 28.6);
Tailwind
colors: {
  custom: {
    50: '#ac6052',
    500: '#7e1a14',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a14;
$custom-light: #ac6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a14",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 20
  },
  "hsl": {
    "h": 3.396,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.13584,
    "h": 28.6
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#7E1A14
secondary
#3AACB3
accent
#E5EF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A14

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

Preview Lab → · Contrast checker → · Palette generator →

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