#7E2B2E#7E2B2E

#7E2B2E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.115 H 21.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7E2B2E
RGBrgb(126, 43, 46)
HSLhsl(358, 49%, 33%)
HSVhsv(358, 66%, 49%)
CMYKcmyk(0%, 65.9%, 63.5%, 50.6%)
CIE-LABlab(30.31, 36.14, 17.56)
CIE-LCHlch(30.31, 40.18, 25.92°)
OKLaboklab(41.32% 0.1071 0.0424)
OKLCHoklch(41.32% 0.115 21.6)
XYZxyz(9.9622, 6.3620, 3.2876)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B2E #2B7E7B
analogous
#7E2B57 #7E2B2E #7E512B
triadic
#7E2B2E #2E7E2B #2B2E7E
tetradic
#7E2B2E #577E2B #2B7E7B #512B7E
square
#7E2B2E #577E2B #2B7E7B #512B7E
split-complementary
#7E2B2E #2B7E51 #2B577E
monochromatic
#230C0D #501B1D #7E2B2E #AC3B3F #C75C60

Accessibility & contrast

On white

9.24
#7E2B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B2E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B2E#FFFFFF#000000##FFFFFF
##7E2B2E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2D
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#8A1A2D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b2e;
/* rgb */ color: rgb(126, 43, 46);
/* oklch */ color: oklch(41.3% 0.115 21.6);
Tailwind
colors: {
  custom: {
    50: '#a96966',
    500: '#7e2b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b2e;
$custom-light: #a96966;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b2e",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 357.831,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.11514,
    "h": 21.6
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7E2B2E
secondary
#58ADAA
accent
#D9D44F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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