#7E122C#7E122C

#7E122C is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 14.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7E122C
RGBrgb(126, 18, 44)
HSLhsl(346, 75%, 28%)
HSVhsv(346, 86%, 49%)
CMYKcmyk(0%, 85.7%, 65.1%, 50.6%)
CIE-LABlab(26.88, 45.37, 14.42)
CIE-LCHlch(26.88, 47.61, 17.63°)
OKLaboklab(38.75% 0.1362 0.035)
OKLCHoklch(38.75% 0.141 14.4)
XYZxyz(9.2761, 5.0515, 2.8690)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E122C #127E64
analogous
#7E1262 #7E122C #7E2E12
triadic
#7E122C #2C7E12 #122C7E
tetradic
#7E122C #627E12 #127E64 #2E127E
square
#7E122C #627E12 #127E64 #2E127E
split-complementary
#7E122C #127E2E #12627E
monochromatic
#1B0409 #480A19 #7E122C #B41A3F #E12A56

Accessibility & contrast

On white

10.45
#7E122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E122C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E122C#FFFFFF#000000##FFFFFF
##7E122C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312C
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e122c;
/* rgb */ color: rgb(126, 18, 44);
/* oklch */ color: oklch(38.8% 0.141 14.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e64',
    500: '#7e122c',
    950: '#000000',
  },
}
SCSS
$custom: #7e122c;
$custom-light: #aa5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e122c",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 345.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.14058,
    "h": 14.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#7E122C
secondary
#38B496
accent
#F2C436
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E122C

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

Preview Lab → · Contrast checker → · Palette generator →

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