#7E1220#7E1220

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

Color values

HEX#7E1220
RGBrgb(126, 18, 32)
HSLhsl(352, 75%, 28%)
HSVhsv(352, 86%, 49%)
CMYKcmyk(0%, 85.7%, 74.6%, 50.6%)
CIE-LABlab(26.66, 44.71, 22.15)
CIE-LCHlch(26.66, 49.90, 26.36°)
OKLaboklab(38.52% 0.1312 0.0507)
OKLCHoklch(38.52% 0.141 21.1)
XYZxyz(9.0823, 4.9740, 1.8481)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1220 #127E70
analogous
#7E1256 #7E1220 #7E3A12
triadic
#7E1220 #207E12 #12207E
tetradic
#7E1220 #567E12 #127E70 #3A127E
square
#7E1220 #567E12 #127E70 #3A127E
split-complementary
#7E1220 #127E3A #12567E
monochromatic
#1B0407 #480A12 #7E1220 #B41A2E #E12A42

Accessibility & contrast

On white

10.53
#7E1220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1220
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1220#FFFFFF#000000##FFFFFF
##7E12201.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353020
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1220;
/* rgb */ color: rgb(126, 18, 32);
/* oklch */ color: oklch(38.5% 0.141 21.1);
Tailwind
colors: {
  custom: {
    50: '#ab5d5b',
    500: '#7e1220',
    950: '#000000',
  },
}
SCSS
$custom: #7e1220;
$custom-light: #ab5d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1220",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 352.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.14065,
    "h": 21.1
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#7E1220
secondary
#38B4A4
accent
#F2D936
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1220

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

Preview Lab → · Contrast checker → · Palette generator →

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