#7E2E2C#7E2E2C

#7E2E2C is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 24.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7E2E2C
RGBrgb(126, 46, 44)
HSLhsl(1, 48%, 33%)
HSVhsv(1, 65%, 49%)
CMYKcmyk(0%, 63.5%, 65.1%, 50.6%)
CIE-LABlab(30.81, 34.55, 19.50)
CIE-LCHlch(30.81, 39.67, 29.44°)
OKLaboklab(41.68% 0.1016 0.0466)
OKLCHoklch(41.68% 0.112 24.6)
XYZxyz(10.0368, 6.5728, 3.1225)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2C #2C7C7E
analogous
#7E2C53 #7E2E2C #7E572C
triadic
#7E2E2C #2C7E2E #2E2C7E
tetradic
#7E2E2C #537E2C #2C7C7E #572C7E
square
#7E2E2C #537E2C #2C7C7E #572C7E
split-complementary
#7E2E2C #2C7E57 #2C537E
monochromatic
#230D0C #511D1C #7E2E2C #AB3F3C #C7605E

Accessibility & contrast

On white

9.07
#7E2E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E2C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E2C#FFFFFF#000000##FFFFFF
##7E2E2C1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2B
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#8A1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e2c;
/* rgb */ color: rgb(126, 46, 44);
/* oklch */ color: oklch(41.7% 0.112 24.6);
Tailwind
colors: {
  custom: {
    50: '#a96b65',
    500: '#7e2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2c;
$custom-light: #a96b65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2c",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 1.463,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.11179,
    "h": 24.6
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#7E2E2C
secondary
#59ABAD
accent
#D5D850
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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