#7E2B2F#7E2B2F

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

Color values

HEX#7E2B2F
RGBrgb(126, 43, 47)
HSLhsl(357, 49%, 33%)
HSVhsv(357, 66%, 49%)
CMYKcmyk(0%, 65.9%, 62.7%, 50.6%)
CIE-LABlab(30.33, 36.22, 16.94)
CIE-LCHlch(30.33, 39.98, 25.07°)
OKLaboklab(41.34% 0.1075 0.0411)
OKLCHoklch(41.34% 0.115 20.9)
XYZxyz(9.9821, 6.3699, 3.3927)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B2F #2B7E7A
analogous
#7E2B58 #7E2B2F #7E502B
triadic
#7E2B2F #2F7E2B #2B2F7E
tetradic
#7E2B2F #587E2B #2B7E7A #502B7E
square
#7E2B2F #587E2B #2B7E7A #502B7E
split-complementary
#7E2B2F #2B7E50 #2B587E
monochromatic
#230C0D #501B1E #7E2B2F #AC3B40 #C75C61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2B2F#FFFFFF#000000##FFFFFF
##7E2B2F1.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)
#403C2F
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#8A1A2D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b2f;
/* rgb */ color: rgb(126, 43, 47);
/* oklch */ color: oklch(41.3% 0.115 20.9);
Tailwind
colors: {
  custom: {
    50: '#a96967',
    500: '#7e2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b2f;
$custom-light: #a96967;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b2f",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 357.108,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.11505,
    "h": 20.9
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#7E2B2F
secondary
#58ADA9
accent
#D9D24F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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