#7E282B#7E282B

#7E282B is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.9% C 0.119 H 22.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E282B
RGBrgb(126, 40, 43)
HSLhsl(358, 52%, 33%)
HSVhsv(358, 68%, 49%)
CMYKcmyk(0%, 68.3%, 65.9%, 50.6%)
CIE-LABlab(29.74, 37.32, 18.77)
CIE-LCHlch(29.74, 41.78, 26.70°)
OKLaboklab(40.87% 0.1102 0.0448)
OKLCHoklch(40.87% 0.119 22.1)
XYZxyz(9.8000, 6.1290, 2.9520)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282B #287E7B
analogous
#7E2856 #7E282B #7E5028
triadic
#7E282B #2B7E28 #282B7E
tetradic
#7E282B #567E28 #287E7B #50287E
square
#7E282B #567E28 #287E7B #50287E
split-complementary
#7E282B #287E50 #28567E
monochromatic
#210B0B #50191B #7E282B #AC373B #CA575B

Accessibility & contrast

On white

9.44
#7E282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E282B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282B#FFFFFF#000000##FFFFFF
##7E282B1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A2A
Deuteranopia (green-blind)
#544D29
Tritanopia (blue-blind)
#8A142A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e282b;
/* rgb */ color: rgb(126, 40, 43);
/* oklch */ color: oklch(40.9% 0.119 22.1);
Tailwind
colors: {
  custom: {
    50: '#a96764',
    500: '#7e282b',
    950: '#000000',
  },
}
SCSS
$custom: #7e282b;
$custom-light: #a96764;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282b",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 357.907,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.11895,
    "h": 22.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#7E282B
secondary
#53AFAB
accent
#DBD64D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E282B

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

Preview Lab → · Contrast checker → · Palette generator →

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