#7E2E2E#7E2E2E

#7E2E2E is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 23.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7E2E2E
RGBrgb(126, 46, 46)
HSLhsl(0, 47%, 34%)
HSVhsv(0, 63%, 49%)
CMYKcmyk(0%, 63.5%, 63.5%, 50.6%)
CIE-LABlab(30.85, 34.69, 18.26)
CIE-LCHlch(30.85, 39.20, 27.76°)
OKLaboklab(41.72% 0.1025 0.044)
OKLCHoklch(41.72% 0.112 23.2)
XYZxyz(10.0753, 6.5882, 3.3253)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2E #2E7E7E
analogous
#7E2E56 #7E2E2E #7E562E
triadic
#7E2E2E #2E7E2E #2E2E7E
tetradic
#7E2E2E #567E2E #2E7E7E #562E7E
square
#7E2E2E #567E2E #2E7E7E #562E7E
split-complementary
#7E2E2E #2E7E56 #2E567E
monochromatic
#240D0D #511E1E #7E2E2E #AB3E3E #C56161

Accessibility & contrast

On white

9.06
#7E2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E2E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E2E#FFFFFF#000000##FFFFFF
##7E2E2E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2D
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#8A1E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e2e;
/* rgb */ color: rgb(126, 46, 46);
/* oklch */ color: oklch(41.7% 0.112 23.2);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7e2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2e;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2e",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41722,
    "c": 0.11151,
    "h": 23.2
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#7E2E2E
secondary
#5CACAC
accent
#D6D652
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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