#7E1E18#7E1E18

#7E1E18 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 28.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E1E18
RGBrgb(126, 30, 24)
HSLhsl(4, 68%, 29%)
HSVhsv(4, 81%, 49%)
CMYKcmyk(0%, 76.2%, 81%, 50.6%)
CIE-LABlab(27.93, 40.50, 28.60)
CIE-LCHlch(27.93, 49.58, 35.23°)
OKLaboklab(39.43% 0.116 0.0626)
OKLCHoklch(39.43% 0.132 28.4)
XYZxyz(9.2344, 5.4316, 1.4261)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E18 #18787E
analogous
#7E1845 #7E1E18 #7E5118
triadic
#7E1E18 #187E1E #1E187E
tetradic
#7E1E18 #457E18 #18787E #51187E
square
#7E1E18 #457E18 #18787E #51187E
split-complementary
#7E1E18 #187E51 #18457E
monochromatic
#1A0605 #4B120E #7E1E18 #B12A22 #D94137

Accessibility & contrast

On white

10.07
#7E1E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E18
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E18#FFFFFF#000000##FFFFFF
##7E1E181.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e18;
/* rgb */ color: rgb(126, 30, 24);
/* oklch */ color: oklch(39.4% 0.132 28.4);
Tailwind
colors: {
  custom: {
    50: '#ab6255',
    500: '#7e1e18',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e18;
$custom-light: #ab6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e18",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 3.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.13182,
    "h": 28.4
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#7E1E18
secondary
#3FACB2
accent
#E1EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1E18

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

Preview Lab → · Contrast checker → · Palette generator →

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