#7E1B14#7E1B14

#7E1B14 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 28.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1B14
RGBrgb(126, 27, 20)
HSLhsl(4, 73%, 29%)
HSVhsv(4, 84%, 49%)
CMYKcmyk(0%, 78.6%, 84.1%, 50.6%)
CIE-LABlab(27.49, 41.46, 30.50)
CIE-LCHlch(27.49, 51.47, 36.34°)
OKLaboklab(39.09% 0.1182 0.0654)
OKLCHoklch(39.09% 0.135 28.9)
XYZxyz(9.1235, 5.2714, 1.1988)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B14 #14777E
analogous
#7E1442 #7E1B14 #7E5014
triadic
#7E1B14 #147E1B #1B147E
tetradic
#7E1B14 #427E14 #14777E #50147E
square
#7E1B14 #427E14 #14777E #50147E
split-complementary
#7E1B14 #147E50 #14427E
monochromatic
#1A0604 #49100C #7E1B14 #B3261C #DE3A2E

Accessibility & contrast

On white

10.22
#7E1B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B14
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B14#FFFFFF#000000##FFFFFF
##7E1B141.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3312
Deuteranopia (green-blind)
#52490F
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b14;
/* rgb */ color: rgb(126, 27, 20);
/* oklch */ color: oklch(39.1% 0.135 28.9);
Tailwind
colors: {
  custom: {
    50: '#ac6052',
    500: '#7e1b14',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b14;
$custom-light: #ac6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b14",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 20
  },
  "hsl": {
    "h": 3.962,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.13502,
    "h": 28.9
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#7E1B14
secondary
#3AABB3
accent
#E3EF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1B14

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

Preview Lab → · Contrast checker → · Palette generator →

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