#7E121F#7E121F

#7E121F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 21.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7E121F
RGBrgb(126, 18, 31)
HSLhsl(353, 75%, 28%)
HSVhsv(353, 86%, 49%)
CMYKcmyk(0%, 85.7%, 75.4%, 50.6%)
CIE-LABlab(26.65, 44.66, 22.79)
CIE-LCHlch(26.65, 50.14, 27.03°)
OKLaboklab(38.5% 0.1308 0.0518)
OKLCHoklch(38.5% 0.141 21.6)
XYZxyz(9.0689, 4.9686, 1.7776)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E121F #127E71
analogous
#7E1255 #7E121F #7E3B12
triadic
#7E121F #1F7E12 #121F7E
tetradic
#7E121F #557E12 #127E71 #3B127E
square
#7E121F #557E12 #127E71 #3B127E
split-complementary
#7E121F #127E3B #12557E
monochromatic
#1B0407 #480A12 #7E121F #B41A2C #E12A40

Accessibility & contrast

On white

10.53
#7E121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E121F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E121F#FFFFFF#000000##FFFFFF
##7E121F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e121f;
/* rgb */ color: rgb(126, 18, 31);
/* oklch */ color: oklch(38.5% 0.141 21.6);
Tailwind
colors: {
  custom: {
    50: '#ab5d5a',
    500: '#7e121f',
    950: '#000000',
  },
}
SCSS
$custom: #7e121f;
$custom-light: #ab5d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e121f",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 352.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38503,
    "c": 0.14072,
    "h": 21.6
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#7E121F
secondary
#38B4A5
accent
#F2DB36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7E121F

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

Preview Lab → · Contrast checker → · Palette generator →

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