#7E1915#7E1915

#7E1915 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 27.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1915
RGBrgb(126, 25, 21)
HSLhsl(2, 71%, 29%)
HSVhsv(2, 83%, 49%)
CMYKcmyk(0%, 80.2%, 83.3%, 50.6%)
CIE-LABlab(27.26, 42.18, 29.69)
CIE-LCHlch(27.26, 51.58, 35.14°)
OKLaboklab(38.92% 0.1206 0.0639)
OKLCHoklch(38.92% 0.137 27.9)
XYZxyz(9.0883, 5.1865, 1.2319)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1915 #157A7E
analogous
#7E1546 #7E1915 #7E4E15
triadic
#7E1915 #157E19 #19157E
tetradic
#7E1915 #467E15 #157A7E #4E157E
square
#7E1915 #467E15 #157A7E #4E157E
split-complementary
#7E1915 #157E4E #15467E
monochromatic
#1A0504 #4A0F0C #7E1915 #B2231E #DD3731

Accessibility & contrast

On white

10.31
#7E1915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1915
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1915#FFFFFF#000000##FFFFFF
##7E19151.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393213
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1915;
/* rgb */ color: rgb(126, 25, 21);
/* oklch */ color: oklch(38.9% 0.137 27.9);
Tailwind
colors: {
  custom: {
    50: '#ac6053',
    500: '#7e1915',
    950: '#000000',
  },
}
SCSS
$custom: #7e1915;
$custom-light: #ac6053;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1915",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 21
  },
  "hsl": {
    "h": 2.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.13651,
    "h": 27.9
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#7E1915
secondary
#3CAFB3
accent
#E7EE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1915

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

Preview Lab → · Contrast checker → · Palette generator →

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