#7E2B2A#7E2B2A

#7E2B2A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.116 H 24.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E2B2A
RGBrgb(126, 43, 42)
HSLhsl(1, 50%, 33%)
HSVhsv(1, 67%, 49%)
CMYKcmyk(0%, 65.9%, 66.7%, 50.6%)
CIE-LABlab(30.23, 35.86, 20.05)
CIE-LCHlch(30.23, 41.08, 29.20°)
OKLaboklab(41.24% 0.1054 0.0476)
OKLCHoklch(41.24% 0.116 24.3)
XYZxyz(9.8870, 6.3319, 2.8916)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B2A #2A7D7E
analogous
#7E2A53 #7E2B2A #7E552A
triadic
#7E2B2A #2A7E2B #2B2A7E
tetradic
#7E2B2A #537E2A #2A7D7E #552A7E
square
#7E2B2A #537E2A #2A7D7E #552A7E
split-complementary
#7E2B2A #2A7E55 #2A537E
monochromatic
#220C0B #501B1B #7E2B2A #AC3B39 #C85C5A

Accessibility & contrast

On white

9.27
#7E2B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B2A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B2A#FFFFFF#000000##FFFFFF
##7E2B2A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#8A192C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b2a;
/* rgb */ color: rgb(126, 43, 42);
/* oklch */ color: oklch(41.2% 0.116 24.3);
Tailwind
colors: {
  custom: {
    50: '#a96963',
    500: '#7e2b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b2a;
$custom-light: #a96963;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b2a",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 0.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.11561,
    "h": 24.3
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#7E2B2A
secondary
#56ADAE
accent
#D8DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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