#7E282E#7E282E

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

Color values

HEX#7E282E
RGBrgb(126, 40, 46)
HSLhsl(356, 52%, 33%)
HSVhsv(356, 68%, 49%)
CMYKcmyk(0%, 68.3%, 63.5%, 50.6%)
CIE-LABlab(29.79, 37.53, 16.90)
CIE-LCHlch(29.79, 41.16, 24.24°)
OKLaboklab(40.93% 0.1115 0.0409)
OKLCHoklch(40.93% 0.119 20.1)
XYZxyz(9.8571, 6.1518, 3.2526)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282E #287E78
analogous
#7E2859 #7E282E #7E4D28
triadic
#7E282E #2E7E28 #282E7E
tetradic
#7E282E #597E28 #287E78 #4D287E
square
#7E282E #597E28 #287E78 #4D287E
split-complementary
#7E282E #287E4D #28597E
monochromatic
#210B0C #50191D #7E282E #AC373F #CA575F

Accessibility & contrast

On white

9.42
#7E282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E282E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282E#FFFFFF#000000##FFFFFF
##7E282E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#8A152B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e282e;
/* rgb */ color: rgb(126, 40, 46);
/* oklch */ color: oklch(40.9% 0.119 20.1);
Tailwind
colors: {
  custom: {
    50: '#a96766',
    500: '#7e282e',
    950: '#000000',
  },
}
SCSS
$custom: #7e282e;
$custom-light: #a96766;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282e",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 355.814,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.11871,
    "h": 20.1
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#7E282E
secondary
#53AFA8
accent
#DBD14D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E282E

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

Preview Lab → · Contrast checker → · Palette generator →

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