#7E1B15#7E1B15

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

Color values

HEX#7E1B15
RGBrgb(126, 27, 21)
HSLhsl(3, 71%, 29%)
HSVhsv(3, 83%, 49%)
CMYKcmyk(0%, 78.6%, 83.3%, 50.6%)
CIE-LABlab(27.50, 41.49, 29.93)
CIE-LCHlch(27.50, 51.16, 35.81°)
OKLaboklab(39.1% 0.1185 0.0645)
OKLCHoklch(39.1% 0.135 28.6)
XYZxyz(9.1326, 5.2751, 1.2466)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B15 #15787E
analogous
#7E1544 #7E1B15 #7E5015
triadic
#7E1B15 #157E1B #1B157E
tetradic
#7E1B15 #447E15 #15787E #50157E
square
#7E1B15 #447E15 #15787E #50157E
split-complementary
#7E1B15 #157E50 #15447E
monochromatic
#1A0604 #4A100C #7E1B15 #B2261E #DD3B31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1B15#FFFFFF#000000##FFFFFF
##7E1B151.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)
#3A3313
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b15;
/* rgb */ color: rgb(126, 27, 21);
/* oklch */ color: oklch(39.1% 0.135 28.6);
Tailwind
colors: {
  custom: {
    50: '#ac6053',
    500: '#7e1b15',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b15;
$custom-light: #ac6053;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b15",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 21
  },
  "hsl": {
    "h": 3.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.13487,
    "h": 28.6
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#7E1B15
secondary
#3CACB3
accent
#E4EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1B15

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

Preview Lab → · Contrast checker → · Palette generator →

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