#7E2C2B#7E2C2B

#7E2C2B is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.114 H 24.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7E2C2B
RGBrgb(126, 44, 43)
HSLhsl(1, 49%, 33%)
HSVhsv(1, 66%, 49%)
CMYKcmyk(0%, 65.1%, 65.9%, 50.6%)
CIE-LABlab(30.43, 35.45, 19.65)
CIE-LCHlch(30.43, 40.53, 29.00°)
OKLaboklab(41.39% 0.1043 0.0468)
OKLCHoklch(41.39% 0.114 24.2)
XYZxyz(9.9419, 6.4127, 2.9993)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C2B #2B7D7E
analogous
#7E2B53 #7E2C2B #7E552B
triadic
#7E2C2B #2B7E2C #2C2B7E
tetradic
#7E2C2B #537E2B #2B7D7E #552B7E
square
#7E2C2B #537E2B #2B7D7E #552B7E
split-complementary
#7E2C2B #2B7E55 #2B537E
monochromatic
#230C0C #501C1B #7E2C2B #AC3C3B #C75D5C

Accessibility & contrast

On white

9.20
#7E2C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C2B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C2B#FFFFFF#000000##FFFFFF
##7E2C2B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2A
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#8A1B2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c2b;
/* rgb */ color: rgb(126, 44, 43);
/* oklch */ color: oklch(41.4% 0.114 24.2);
Tailwind
colors: {
  custom: {
    50: '#a96964',
    500: '#7e2c2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c2b;
$custom-light: #a96964;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c2b",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 43
  },
  "hsl": {
    "h": 0.723,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.1143,
    "h": 24.2
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#7E2C2B
secondary
#58ACAD
accent
#D7D94F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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