#7E2B1B#7E2B1B

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

Color values

HEX#7E2B1B
RGBrgb(126, 43, 27)
HSLhsl(10, 65%, 30%)
HSVhsv(10, 79%, 49%)
CMYKcmyk(0%, 65.9%, 78.6%, 50.6%)
CIE-LABlab(30.02, 35.03, 29.04)
CIE-LCHlch(30.02, 45.50, 39.65°)
OKLaboklab(41.01% 0.0996 0.0644)
OKLCHoklch(41.01% 0.119 32.9)
XYZxyz(9.6669, 6.2439, 1.7329)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B1B #1B6E7E
analogous
#7E1B3C #7E2B1B #7E5D1B
triadic
#7E2B1B #1B7E2B #2B1B7E
tetradic
#7E2B1B #3C7E1B #1B6E7E #5D1B7E
square
#7E2B1B #3C7E1B #1B6E7E #5D1B7E
split-complementary
#7E2B1B #1B7E5D #1B3C7E
monochromatic
#190905 #4C1A10 #7E2B1B #B03C26 #D6563E

Accessibility & contrast

On white

9.34
#7E2B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B1B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B1B#FFFFFF#000000##FFFFFF
##7E2B1B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#8B1528
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b1b;
/* rgb */ color: rgb(126, 43, 27);
/* oklch */ color: oklch(41.0% 0.119 32.9);
Tailwind
colors: {
  custom: {
    50: '#aa6858',
    500: '#7e2b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b1b;
$custom-light: #aa6858;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b1b",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 27
  },
  "hsl": {
    "h": 9.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.11859,
    "h": 32.9
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#7E2B1B
secondary
#43A0B2
accent
#CDE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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