#7E1D20#7E1D20

#7E1D20 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 24.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1D20
RGBrgb(126, 29, 32)
HSLhsl(358, 63%, 30%)
HSVhsv(358, 77%, 49%)
CMYKcmyk(0%, 77%, 74.6%, 50.6%)
CIE-LABlab(27.90, 41.22, 23.61)
CIE-LCHlch(27.90, 47.51, 29.80°)
OKLaboklab(39.44% 0.1201 0.0539)
OKLCHoklch(39.44% 0.132 24.2)
XYZxyz(9.3053, 5.4201, 1.9224)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D20 #1D7E7B
analogous
#7E1D51 #7E1D20 #7E4A1D
triadic
#7E1D20 #207E1D #1D207E
tetradic
#7E1D20 #517E1D #1D7E7B #4A1D7E
square
#7E1D20 #517E1D #1D7E7B #4A1D7E
split-complementary
#7E1D20 #1D7E4A #1D517E
monochromatic
#1B0607 #4C1213 #7E1D20 #B0282D #D34246

Accessibility & contrast

On white

10.08
#7E1D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D20
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D20#FFFFFF#000000##FFFFFF
##7E1D201.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351F
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d20;
/* rgb */ color: rgb(126, 29, 32);
/* oklch */ color: oklch(39.4% 0.132 24.2);
Tailwind
colors: {
  custom: {
    50: '#ab625b',
    500: '#7e1d20',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d20;
$custom-light: #ab625b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d20",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 32
  },
  "hsl": {
    "h": 358.144,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.13163,
    "h": 24.2
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#7E1D20
secondary
#45B1AE
accent
#E6E142
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1D20

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

Preview Lab → · Contrast checker → · Palette generator →

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