#7E281D#7E281D

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

Color values

HEX#7E281D
RGBrgb(126, 40, 29)
HSLhsl(7, 63%, 30%)
HSVhsv(7, 77%, 49%)
CMYKcmyk(0%, 68.3%, 77%, 50.6%)
CIE-LABlab(29.52, 36.52, 27.31)
CIE-LCHlch(29.52, 45.61, 36.79°)
OKLaboklab(40.64% 0.1046 0.0612)
OKLCHoklch(40.64% 0.121 30.3)
XYZxyz(9.5858, 6.0433, 1.8239)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E281D #1D737E
analogous
#7E1D42 #7E281D #7E581D
triadic
#7E281D #1D7E28 #281D7E
tetradic
#7E281D #427E1D #1D737E #581D7E
square
#7E281D #427E1D #1D737E #581D7E
split-complementary
#7E281D #1D7E58 #1D427E
monochromatic
#1B0806 #4C1812 #7E281D #B03828 #D35242

Accessibility & contrast

On white

9.51
#7E281D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E281D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E281D#FFFFFF#000000##FFFFFF
##7E281D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1B
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#8B1026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e281d;
/* rgb */ color: rgb(126, 40, 29);
/* oklch */ color: oklch(40.6% 0.121 30.3);
Tailwind
colors: {
  custom: {
    50: '#aa6759',
    500: '#7e281d',
    950: '#000000',
  },
}
SCSS
$custom: #7e281d;
$custom-light: #aa6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7e281d",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 29
  },
  "hsl": {
    "h": 6.804,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.12124,
    "h": 30.3
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#7E281D
secondary
#45A5B1
accent
#D3E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E281D

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

Preview Lab → · Contrast checker → · Palette generator →

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