#7E121C#7E121C

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

Color values

HEX#7E121C
RGBrgb(126, 18, 28)
HSLhsl(354, 75%, 28%)
HSVhsv(354, 86%, 49%)
CMYKcmyk(0%, 85.7%, 77.8%, 50.6%)
CIE-LABlab(26.60, 44.53, 24.68)
CIE-LCHlch(26.60, 50.91, 29.00°)
OKLaboklab(38.46% 0.1297 0.0552)
OKLCHoklch(38.46% 0.141 23.1)
XYZxyz(9.0312, 4.9535, 1.5790)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E121C #127E74
analogous
#7E1252 #7E121C #7E3E12
triadic
#7E121C #1C7E12 #121C7E
tetradic
#7E121C #527E12 #127E74 #3E127E
square
#7E121C #527E12 #127E74 #3E127E
split-complementary
#7E121C #127E3E #12527E
monochromatic
#1B0406 #480A10 #7E121C #B41A28 #E12A3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E121C#FFFFFF#000000##FFFFFF
##7E121C1.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)
#35301B
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e121c;
/* rgb */ color: rgb(126, 18, 28);
/* oklch */ color: oklch(38.5% 0.141 23.1);
Tailwind
colors: {
  custom: {
    50: '#ab5d58',
    500: '#7e121c',
    950: '#000000',
  },
}
SCSS
$custom: #7e121c;
$custom-light: #ab5d58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e121c",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 354.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.14095,
    "h": 23.1
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#7E121C
secondary
#38B4A8
accent
#F2E036
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E121C

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

Preview Lab → · Contrast checker → · Palette generator →

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