#7E121D#7E121D

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

Color values

HEX#7E121D
RGBrgb(126, 18, 29)
HSLhsl(354, 75%, 28%)
HSVhsv(354, 86%, 49%)
CMYKcmyk(0%, 85.7%, 77%, 50.6%)
CIE-LABlab(26.62, 44.57, 24.05)
CIE-LCHlch(26.62, 50.65, 28.35°)
OKLaboklab(38.47% 0.13 0.0541)
OKLCHoklch(38.47% 0.141 22.6)
XYZxyz(9.0433, 4.9584, 1.6431)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E121D #127E73
analogous
#7E1253 #7E121D #7E3D12
triadic
#7E121D #1D7E12 #121D7E
tetradic
#7E121D #537E12 #127E73 #3D127E
square
#7E121D #537E12 #127E73 #3D127E
split-complementary
#7E121D #127E3D #12537E
monochromatic
#1B0406 #480A11 #7E121D #B41A29 #E12A3C

Accessibility & contrast

On white

10.55
#7E121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E121D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E121D#FFFFFF#000000##FFFFFF
##7E121D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e121d;
/* rgb */ color: rgb(126, 18, 29);
/* oklch */ color: oklch(38.5% 0.141 22.6);
Tailwind
colors: {
  custom: {
    50: '#ab5d59',
    500: '#7e121d',
    950: '#000000',
  },
}
SCSS
$custom: #7e121d;
$custom-light: #ab5d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e121d",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 353.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.14086,
    "h": 22.6
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#7E121D
secondary
#38B4A7
accent
#F2DF36
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E121D

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

Preview Lab → · Contrast checker → · Palette generator →

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