#7E2B1F#7E2B1F

#7E2B1F is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.118 H 30.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E2B1F
RGBrgb(126, 43, 31)
HSLhsl(8, 61%, 31%)
HSVhsv(8, 75%, 49%)
CMYKcmyk(0%, 65.9%, 75.4%, 50.6%)
CIE-LABlab(30.07, 35.22, 26.72)
CIE-LCHlch(30.07, 44.21, 37.18°)
OKLaboklab(41.06% 0.101 0.0604)
OKLCHoklch(41.06% 0.118 30.9)
XYZxyz(9.7164, 6.2637, 1.9934)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B1F #1F727E
analogous
#7E1F42 #7E2B1F #7E5A1F
triadic
#7E2B1F #1F7E2B #2B1F7E
tetradic
#7E2B1F #427E1F #1F727E #5A1F7E
square
#7E2B1F #427E1F #1F727E #5A1F7E
split-complementary
#7E2B1F #1F7E5A #1F427E
monochromatic
#1C0907 #4D1A13 #7E2B1F #AF3C2B #D15846

Accessibility & contrast

On white

9.32
#7E2B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B1F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B1F#FFFFFF#000000##FFFFFF
##7E2B1F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8B1629
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b1f;
/* rgb */ color: rgb(126, 43, 31);
/* oklch */ color: oklch(41.1% 0.118 30.9);
Tailwind
colors: {
  custom: {
    50: '#aa695b',
    500: '#7e2b1f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b1f;
$custom-light: #aa695b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b1f",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 7.579,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.11768,
    "h": 30.9
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7E2B1F
secondary
#48A4B1
accent
#CFE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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