#7E281A#7E281A

#7E281A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 31.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7E281A
RGBrgb(126, 40, 26)
HSLhsl(8, 66%, 30%)
HSVhsv(8, 79%, 49%)
CMYKcmyk(0%, 68.3%, 79.4%, 50.6%)
CIE-LABlab(29.49, 36.39, 29.05)
CIE-LCHlch(29.49, 46.57, 38.60°)
OKLaboklab(40.6% 0.1036 0.0642)
OKLCHoklch(40.6% 0.122 31.8)
XYZxyz(9.5505, 6.0292, 1.6379)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E281A #1A707E
analogous
#7E1A3E #7E281A #7E5A1A
triadic
#7E281A #1A7E28 #281A7E
tetradic
#7E281A #3E7E1A #1A707E #5A1A7E
square
#7E281A #3E7E1A #1A707E #5A1A7E
split-complementary
#7E281A #1A7E5A #1A3E7E
monochromatic
#190805 #4B1810 #7E281A #B13824 #D7513C

Accessibility & contrast

On white

9.52
#7E281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E281A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E281A#FFFFFF#000000##FFFFFF
##7E281A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#8B0F25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e281a;
/* rgb */ color: rgb(126, 40, 26);
/* oklch */ color: oklch(40.6% 0.122 31.8);
Tailwind
colors: {
  custom: {
    50: '#ab6757',
    500: '#7e281a',
    950: '#000000',
  },
}
SCSS
$custom: #7e281a;
$custom-light: #ab6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7e281a",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 8.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.12186,
    "h": 31.8
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#7E281A
secondary
#42A2B2
accent
#D1E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E281A

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

Preview Lab → · Contrast checker → · Palette generator →

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