#7E2E2A#7E2E2A

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

Color values

HEX#7E2E2A
RGBrgb(126, 46, 42)
HSLhsl(3, 50%, 33%)
HSVhsv(3, 67%, 49%)
CMYKcmyk(0%, 63.5%, 66.7%, 50.6%)
CIE-LABlab(30.78, 34.41, 20.73)
CIE-LCHlch(30.78, 40.17, 31.06°)
OKLaboklab(41.65% 0.1008 0.0491)
OKLCHoklch(41.65% 0.112 26)
XYZxyz(10.0001, 6.5581, 2.9293)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2A #2A7A7E
analogous
#7E2A50 #7E2E2A #7E582A
triadic
#7E2E2A #2A7E2E #2E2A7E
tetradic
#7E2E2A #507E2A #2A7A7E #582A7E
square
#7E2E2A #507E2A #2A7A7E #582A7E
split-complementary
#7E2E2A #2A7E58 #2A507E
monochromatic
#220C0B #501D1B #7E2E2A #AC3F39 #C8605A

Accessibility & contrast

On white

9.09
#7E2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E2A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E2A#FFFFFF#000000##FFFFFF
##7E2E2A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E29
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#8A1D2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e2a;
/* rgb */ color: rgb(126, 46, 42);
/* oklch */ color: oklch(41.6% 0.112 26.0);
Tailwind
colors: {
  custom: {
    50: '#a96a63',
    500: '#7e2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2a;
$custom-light: #a96a63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2a",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 2.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.11212,
    "h": 26
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#7E2E2A
secondary
#56AAAE
accent
#D3DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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