#7E1B18#7E1B18

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

Color values

HEX#7E1B18
RGBrgb(126, 27, 24)
HSLhsl(2, 68%, 29%)
HSVhsv(2, 81%, 49%)
CMYKcmyk(0%, 78.6%, 81%, 50.6%)
CIE-LABlab(27.54, 41.60, 28.19)
CIE-LCHlch(27.54, 50.25, 34.12°)
OKLaboklab(39.14% 0.1195 0.0617)
OKLCHoklch(39.14% 0.134 27.3)
XYZxyz(9.1621, 5.2869, 1.4020)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B18 #187B7E
analogous
#7E1848 #7E1B18 #7E4E18
triadic
#7E1B18 #187E1B #1B187E
tetradic
#7E1B18 #487E18 #187B7E #4E187E
square
#7E1B18 #487E18 #187B7E #4E187E
split-complementary
#7E1B18 #187E4E #18487E
monochromatic
#1A0605 #4B100E #7E1B18 #B12622 #D93C37

Accessibility & contrast

On white

10.21
#7E1B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B18
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B18#FFFFFF#000000##FFFFFF
##7E1B181.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393316
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b18;
/* rgb */ color: rgb(126, 27, 24);
/* oklch */ color: oklch(39.1% 0.134 27.3);
Tailwind
colors: {
  custom: {
    50: '#ab6055',
    500: '#7e1b18',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b18;
$custom-light: #ab6055;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b18",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.13444,
    "h": 27.3
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#7E1B18
secondary
#3FAFB2
accent
#E6EB3D
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1B18

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

Preview Lab → · Contrast checker → · Palette generator →

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