#7E2D2B#7E2D2B

#7E2D2B is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.113 H 24.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E2D2B
RGBrgb(126, 45, 43)
HSLhsl(1, 49%, 33%)
HSVhsv(1, 66%, 49%)
CMYKcmyk(0%, 64.3%, 65.9%, 50.6%)
CIE-LABlab(30.61, 34.97, 19.88)
CIE-LCHlch(30.61, 40.22, 29.62°)
OKLaboklab(41.53% 0.1028 0.0473)
OKLCHoklch(41.53% 0.113 24.7)
XYZxyz(9.9796, 6.4881, 3.0119)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D2B #2B7C7E
analogous
#7E2B52 #7E2D2B #7E562B
triadic
#7E2D2B #2B7E2D #2D2B7E
tetradic
#7E2D2B #527E2B #2B7C7E #562B7E
square
#7E2D2B #527E2B #2B7C7E #562B7E
split-complementary
#7E2D2B #2B7E56 #2B527E
monochromatic
#230C0C #501D1B #7E2D2B #AC3D3B #C75F5C

Accessibility & contrast

On white

9.14
#7E2D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D2B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D2B#FFFFFF#000000##FFFFFF
##7E2D2B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2A
Deuteranopia (green-blind)
#564F29
Tritanopia (blue-blind)
#8A1C2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d2b;
/* rgb */ color: rgb(126, 45, 43);
/* oklch */ color: oklch(41.5% 0.113 24.7);
Tailwind
colors: {
  custom: {
    50: '#a96a64',
    500: '#7e2d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d2b;
$custom-light: #a96a64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d2b",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 1.446,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.11313,
    "h": 24.7
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#7E2D2B
secondary
#58ABAD
accent
#D5D94F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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