#7E1E2F#7E1E2F

#7E1E2F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.130 H 15.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E1E2F
RGBrgb(126, 30, 47)
HSLhsl(349, 62%, 31%)
HSVhsv(349, 76%, 49%)
CMYKcmyk(0%, 76.2%, 62.7%, 50.6%)
CIE-LABlab(28.30, 41.75, 14.28)
CIE-LCHlch(28.30, 44.13, 18.89°)
OKLaboklab(39.83% 0.1251 0.0349)
OKLCHoklch(39.83% 0.13 15.6)
XYZxyz(9.5825, 5.5708, 3.2595)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2F #1E7E6D
analogous
#7E1E5F #7E1E2F #7E3D1E
triadic
#7E1E2F #2F7E1E #1E2F7E
tetradic
#7E1E2F #5F7E1E #1E7E6D #3D1E7E
square
#7E1E2F #5F7E1E #1E7E6D #3D1E7E
split-complementary
#7E1E2F #1E7E3D #1E5F7E
monochromatic
#1B060A #4D121D #7E1E2F #AF2A41 #D2445D

Accessibility & contrast

On white

9.93
#7E1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E2F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E2F#FFFFFF#000000##FFFFFF
##7E1E2F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2f;
/* rgb */ color: rgb(126, 30, 47);
/* oklch */ color: oklch(39.8% 0.130 15.6);
Tailwind
colors: {
  custom: {
    50: '#a96267',
    500: '#7e1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2f;
$custom-light: #a96267;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2f",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 349.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.12989,
    "h": 15.6
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#7E1E2F
secondary
#47B19E
accent
#E5C843
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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