#7E2B2B#7E2B2B

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

Color values

HEX#7E2B2B
RGBrgb(126, 43, 43)
HSLhsl(0, 49%, 33%)
HSVhsv(0, 66%, 49%)
CMYKcmyk(0%, 65.9%, 65.9%, 50.6%)
CIE-LABlab(30.25, 35.93, 19.43)
CIE-LCHlch(30.25, 40.85, 28.40°)
OKLaboklab(41.26% 0.1058 0.0463)
OKLCHoklch(41.26% 0.115 23.6)
XYZxyz(9.9051, 6.3391, 2.9870)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B2B #2B7E7E
analogous
#7E2B54 #7E2B2B #7E542B
triadic
#7E2B2B #2B7E2B #2B2B7E
tetradic
#7E2B2B #547E2B #2B7E7E #542B7E
square
#7E2B2B #547E2B #2B7E7E #542B7E
split-complementary
#7E2B2B #2B7E54 #2B547E
monochromatic
#230C0C #501B1B #7E2B2B #AC3B3B #C75C5C

Accessibility & contrast

On white

9.26
#7E2B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B2B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B2B#FFFFFF#000000##FFFFFF
##7E2B2B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2A
Deuteranopia (green-blind)
#554E29
Tritanopia (blue-blind)
#8A192C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b2b;
/* rgb */ color: rgb(126, 43, 43);
/* oklch */ color: oklch(41.3% 0.115 23.6);
Tailwind
colors: {
  custom: {
    50: '#a96964',
    500: '#7e2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b2b;
$custom-light: #a96964;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b2b",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.11548,
    "h": 23.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7E2B2B
secondary
#58ADAD
accent
#D9D94F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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