#7E1B13#7E1B13

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

Color values

HEX#7E1B13
RGBrgb(126, 27, 19)
HSLhsl(4, 74%, 28%)
HSVhsv(4, 85%, 49%)
CMYKcmyk(0%, 78.6%, 84.9%, 50.6%)
CIE-LABlab(27.48, 41.43, 31.06)
CIE-LCHlch(27.48, 51.77, 36.86°)
OKLaboklab(39.08% 0.1178 0.0662)
OKLCHoklch(39.08% 0.135 29.3)
XYZxyz(9.1148, 5.2680, 1.1529)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B13 #13767E
analogous
#7E1340 #7E1B13 #7E5013
triadic
#7E1B13 #137E1B #1B137E
tetradic
#7E1B13 #407E13 #13767E #50137E
square
#7E1B13 #407E13 #13767E #50137E
split-complementary
#7E1B13 #137E50 #13407E
monochromatic
#1B0604 #49100B #7E1B13 #B3261B #DF3A2C

Accessibility & contrast

On white

10.23
#7E1B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B13
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B13#FFFFFF#000000##FFFFFF
##7E1B131.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3311
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b13;
/* rgb */ color: rgb(126, 27, 19);
/* oklch */ color: oklch(39.1% 0.135 29.3);
Tailwind
colors: {
  custom: {
    50: '#ac6052',
    500: '#7e1b13',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b13;
$custom-light: #ac6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b13",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 19
  },
  "hsl": {
    "h": 4.486,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.13516,
    "h": 29.3
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#7E1B13
secondary
#39AAB4
accent
#E3F037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1B13

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

Preview Lab → · Contrast checker → · Palette generator →

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