#7E281C#7E281C

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

Color values

HEX#7E281C
RGBrgb(126, 40, 28)
HSLhsl(7, 64%, 30%)
HSVhsv(7, 78%, 49%)
CMYKcmyk(0%, 68.3%, 77.8%, 50.6%)
CIE-LABlab(29.51, 36.48, 27.90)
CIE-LCHlch(29.51, 45.92, 37.41°)
OKLaboklab(40.63% 0.1043 0.0622)
OKLCHoklch(40.63% 0.121 30.8)
XYZxyz(9.5736, 6.0384, 1.7598)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E281C #1C727E
analogous
#7E1C41 #7E281C #7E591C
triadic
#7E281C #1C7E28 #281C7E
tetradic
#7E281C #417E1C #1C727E #591C7E
square
#7E281C #417E1C #1C727E #591C7E
split-complementary
#7E281C #1C7E59 #1C417E
monochromatic
#1A0806 #4C1811 #7E281C #B03827 #D55240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E281C#FFFFFF#000000##FFFFFF
##7E281C1.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)
#403A1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8B1026
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e281c;
/* rgb */ color: rgb(126, 40, 28);
/* oklch */ color: oklch(40.6% 0.121 30.8);
Tailwind
colors: {
  custom: {
    50: '#aa6759',
    500: '#7e281c',
    950: '#000000',
  },
}
SCSS
$custom: #7e281c;
$custom-light: #aa6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7e281c",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 7.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.12144,
    "h": 30.8
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#7E281C
secondary
#44A4B2
accent
#D2E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E281C

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

Preview Lab → · Contrast checker → · Palette generator →

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