#7E111E#7E111E

#7E111E is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 21.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7E111E
RGBrgb(126, 17, 30)
HSLhsl(353, 76%, 28%)
HSVhsv(353, 87%, 49%)
CMYKcmyk(0%, 86.5%, 76.2%, 50.6%)
CIE-LABlab(26.54, 44.88, 23.32)
CIE-LCHlch(26.54, 50.57, 27.46°)
OKLaboklab(38.42% 0.1313 0.0528)
OKLCHoklch(38.42% 0.141 21.9)
XYZxyz(9.0401, 4.9317, 1.7040)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E111E #117E71
analogous
#7E1154 #7E111E #7E3A11
triadic
#7E111E #1E7E11 #111E7E
tetradic
#7E111E #547E11 #117E71 #3A117E
square
#7E111E #547E11 #117E71 #3A117E
split-complementary
#7E111E #117E3A #11547E
monochromatic
#1B0406 #480A11 #7E111E #B4182B #E2273E

Accessibility & contrast

On white

10.57
#7E111E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E111E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E111E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E111E#FFFFFF#000000##FFFFFF
##7E111E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301D
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e111e;
/* rgb */ color: rgb(126, 17, 30);
/* oklch */ color: oklch(38.4% 0.141 21.9);
Tailwind
colors: {
  custom: {
    50: '#ab5d59',
    500: '#7e111e',
    950: '#000000',
  },
}
SCSS
$custom: #7e111e;
$custom-light: #ab5d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e111e",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 30
  },
  "hsl": {
    "h": 352.844,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.14146,
    "h": 21.9
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#7E111E
secondary
#37B4A5
accent
#F3DC35
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E111E

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

Preview Lab → · Contrast checker → · Palette generator →

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