#7E1017#7E1017

#7E1017 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 24.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1017
RGBrgb(126, 16, 23)
HSLhsl(356, 77%, 28%)
HSVhsv(356, 87%, 49%)
CMYKcmyk(0%, 87.3%, 81.7%, 50.6%)
CIE-LABlab(26.36, 44.85, 27.57)
CIE-LCHlch(26.36, 52.64, 31.58°)
OKLaboklab(38.26% 0.1295 0.06)
OKLCHoklch(38.26% 0.143 24.9)
XYZxyz(8.9452, 4.8695, 1.2794)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1017 #107E77
analogous
#7E104E #7E1017 #7E4010
triadic
#7E1017 #177E10 #10177E
tetradic
#7E1017 #4E7E10 #107E77 #40107E
square
#7E1017 #4E7E10 #107E77 #40107E
split-complementary
#7E1017 #107E40 #104E7E
monochromatic
#1B0305 #48090D #7E1017 #B41721 #E32531

Accessibility & contrast

On white

10.64
#7E1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7E1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1017
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1017#FFFFFF#000000##FFFFFF
##7E10171.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F16
Deuteranopia (green-blind)
#4F4712
Tritanopia (blue-blind)
#8B0014
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7e1017;
/* rgb */ color: rgb(126, 16, 23);
/* oklch */ color: oklch(38.3% 0.143 24.9);
Tailwind
colors: {
  custom: {
    50: '#ac5d54',
    500: '#7e1017',
    950: '#000000',
  },
}
SCSS
$custom: #7e1017;
$custom-light: #ac5d54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1017",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 356.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38258,
    "c": 0.14272,
    "h": 24.9
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#7E1017
secondary
#36B4AC
accent
#F4E834
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1017

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

Preview Lab → · Contrast checker → · Palette generator →

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