#7E1D18#7E1D18

#7E1D18 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 28.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7E1D18
RGBrgb(126, 29, 24)
HSLhsl(3, 68%, 29%)
HSVhsv(3, 81%, 49%)
CMYKcmyk(0%, 77%, 81%, 50.6%)
CIE-LABlab(27.80, 40.88, 28.46)
CIE-LCHlch(27.80, 49.81, 34.84°)
OKLaboklab(39.33% 0.1172 0.0623)
OKLCHoklch(39.33% 0.133 28)
XYZxyz(9.2095, 5.3817, 1.4178)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D18 #18797E
analogous
#7E1846 #7E1D18 #7E5018
triadic
#7E1D18 #187E1D #1D187E
tetradic
#7E1D18 #467E18 #18797E #50187E
square
#7E1D18 #467E18 #18797E #50187E
split-complementary
#7E1D18 #187E50 #18467E
monochromatic
#1A0605 #4B110E #7E1D18 #B12922 #D93F37

Accessibility & contrast

On white

10.12
#7E1D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D18
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D18#FFFFFF#000000##FFFFFF
##7E1D181.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3416
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d18;
/* rgb */ color: rgb(126, 29, 24);
/* oklch */ color: oklch(39.3% 0.133 28.0);
Tailwind
colors: {
  custom: {
    50: '#ab6155',
    500: '#7e1d18',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d18;
$custom-light: #ab6155;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d18",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 2.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.13271,
    "h": 28
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#7E1D18
secondary
#3FADB2
accent
#E2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1D18

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

Preview Lab → · Contrast checker → · Palette generator →

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