#7E281B#7E281B

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

Color values

HEX#7E281B
RGBrgb(126, 40, 27)
HSLhsl(8, 65%, 30%)
HSVhsv(8, 79%, 49%)
CMYKcmyk(0%, 68.3%, 78.6%, 50.6%)
CIE-LABlab(29.50, 36.43, 28.48)
CIE-LCHlch(29.50, 46.24, 38.01°)
OKLaboklab(40.61% 0.1039 0.0632)
OKLCHoklch(40.61% 0.122 31.3)
XYZxyz(9.5619, 6.0337, 1.6978)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E281B #1B717E
analogous
#7E1B3F #7E281B #7E5A1B
triadic
#7E281B #1B7E28 #281B7E
tetradic
#7E281B #3F7E1B #1B717E #5A1B7E
square
#7E281B #3F7E1B #1B717E #5A1B7E
split-complementary
#7E281B #1B7E5A #1B3F7E
monochromatic
#190805 #4C1810 #7E281B #B03826 #D6523E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E281B#FFFFFF#000000##FFFFFF
##7E281B1.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)
#403A19
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#8B1026
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e281b;
/* rgb */ color: rgb(126, 40, 27);
/* oklch */ color: oklch(40.6% 0.122 31.3);
Tailwind
colors: {
  custom: {
    50: '#aa6758',
    500: '#7e281b',
    950: '#000000',
  },
}
SCSS
$custom: #7e281b;
$custom-light: #aa6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7e281b",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 7.879,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.12165,
    "h": 31.3
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#7E281B
secondary
#43A3B2
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E281B

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

Preview Lab → · Contrast checker → · Palette generator →

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