#7E1E28#7E1E28

#7E1E28 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 20.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1E28
RGBrgb(126, 30, 40)
HSLhsl(354, 62%, 31%)
HSVhsv(354, 76%, 49%)
CMYKcmyk(0%, 76.2%, 68.3%, 50.6%)
CIE-LABlab(28.16, 41.29, 18.74)
CIE-LCHlch(28.16, 45.34, 24.41°)
OKLaboklab(39.68% 0.1222 0.0444)
OKLCHoklch(39.68% 0.13 20)
XYZxyz(9.4525, 5.5188, 2.5746)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E28 #1E7E74
analogous
#7E1E58 #7E1E28 #7E441E
triadic
#7E1E28 #287E1E #1E287E
tetradic
#7E1E28 #587E1E #1E7E74 #441E7E
square
#7E1E28 #587E1E #1E7E74 #441E7E
split-complementary
#7E1E28 #1E7E44 #1E587E
monochromatic
#1B0609 #4D1218 #7E1E28 #AF2A38 #D24453

Accessibility & contrast

On white

9.98
#7E1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E28
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E28#FFFFFF#000000##FFFFFF
##7E1E281.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e28;
/* rgb */ color: rgb(126, 30, 40);
/* oklch */ color: oklch(39.7% 0.130 20.0);
Tailwind
colors: {
  custom: {
    50: '#aa6261',
    500: '#7e1e28',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e28;
$custom-light: #aa6261;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e28",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.12998,
    "h": 20
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#7E1E28
secondary
#47B1A6
accent
#E5D443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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