#7E122D#7E122D

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

Color values

HEX#7E122D
RGBrgb(126, 18, 45)
HSLhsl(345, 75%, 28%)
HSVhsv(345, 86%, 49%)
CMYKcmyk(0%, 85.7%, 64.3%, 50.6%)
CIE-LABlab(26.90, 45.44, 13.77)
CIE-LCHlch(26.90, 47.48, 16.86°)
OKLaboklab(38.78% 0.1366 0.0336)
OKLCHoklch(38.78% 0.141 13.8)
XYZxyz(9.2951, 5.0591, 2.9692)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E122D #127E63
analogous
#7E1263 #7E122D #7E2D12
triadic
#7E122D #2D7E12 #122D7E
tetradic
#7E122D #637E12 #127E63 #2D127E
square
#7E122D #637E12 #127E63 #2D127E
split-complementary
#7E122D #127E2D #12637E
monochromatic
#1B040A #480A1A #7E122D #B41A40 #E12A58

Accessibility & contrast

On white

10.44
#7E122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E122D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E122D#FFFFFF#000000##FFFFFF
##7E122D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e122d;
/* rgb */ color: rgb(126, 18, 45);
/* oklch */ color: oklch(38.8% 0.141 13.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e65',
    500: '#7e122d',
    950: '#000000',
  },
}
SCSS
$custom: #7e122d;
$custom-light: #aa5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e122d",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 345,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38776,
    "c": 0.14064,
    "h": 13.8
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#7E122D
secondary
#38B495
accent
#F2C336
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E122D

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

Preview Lab → · Contrast checker → · Palette generator →

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