#7E282F#7E282F

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

Color values

HEX#7E282F
RGBrgb(126, 40, 47)
HSLhsl(355, 52%, 33%)
HSVhsv(355, 68%, 49%)
CMYKcmyk(0%, 68.3%, 62.7%, 50.6%)
CIE-LABlab(29.81, 37.60, 16.27)
CIE-LCHlch(29.81, 40.97, 23.39°)
OKLaboklab(40.95% 0.1119 0.0395)
OKLCHoklch(40.95% 0.119 19.5)
XYZxyz(9.8770, 6.1598, 3.3576)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282F #287E77
analogous
#7E285A #7E282F #7E4C28
triadic
#7E282F #2F7E28 #282F7E
tetradic
#7E282F #5A7E28 #287E77 #4C287E
square
#7E282F #5A7E28 #287E77 #4C287E
split-complementary
#7E282F #287E4C #285A7E
monochromatic
#210B0C #50191E #7E282F #AC3740 #CA5760

Accessibility & contrast

On white

9.41
#7E282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E282F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282F#FFFFFF#000000##FFFFFF
##7E282F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e282f;
/* rgb */ color: rgb(126, 40, 47);
/* oklch */ color: oklch(40.9% 0.119 19.5);
Tailwind
colors: {
  custom: {
    50: '#a96767',
    500: '#7e282f',
    950: '#000000',
  },
}
SCSS
$custom: #7e282f;
$custom-light: #a96767;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282f",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 355.116,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.11865,
    "h": 19.5
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#7E282F
secondary
#53AFA7
accent
#DBD04D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E282F

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

Preview Lab → · Contrast checker → · Palette generator →

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