#7E122B#7E122B

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

Color values

HEX#7E122B
RGBrgb(126, 18, 43)
HSLhsl(346, 75%, 28%)
HSVhsv(346, 86%, 49%)
CMYKcmyk(0%, 85.7%, 65.9%, 50.6%)
CIE-LABlab(26.86, 45.31, 15.07)
CIE-LCHlch(26.86, 47.75, 18.39°)
OKLaboklab(38.73% 0.1357 0.0364)
OKLCHoklch(38.73% 0.141 15)
XYZxyz(9.2575, 5.0441, 2.7712)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E122B #127E65
analogous
#7E1261 #7E122B #7E2F12
triadic
#7E122B #2B7E12 #122B7E
tetradic
#7E122B #617E12 #127E65 #2F127E
square
#7E122B #617E12 #127E65 #2F127E
split-complementary
#7E122B #127E2F #12617E
monochromatic
#1B0409 #480A19 #7E122B #B41A3D #E12A54

Accessibility & contrast

On white

10.46
#7E122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E122B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E122B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E122B#FFFFFF#000000##FFFFFF
##7E122B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e122b;
/* rgb */ color: rgb(126, 18, 43);
/* oklch */ color: oklch(38.7% 0.141 15.0);
Tailwind
colors: {
  custom: {
    50: '#aa5e64',
    500: '#7e122b',
    950: '#000000',
  },
}
SCSS
$custom: #7e122b;
$custom-light: #aa5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e122b",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 346.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.14053,
    "h": 15
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#7E122B
secondary
#38B497
accent
#F2C636
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E122B

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

Preview Lab → · Contrast checker → · Palette generator →

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