#7E2E2D#7E2E2D

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

Color values

HEX#7E2E2D
RGBrgb(126, 46, 45)
HSLhsl(1, 47%, 34%)
HSVhsv(1, 64%, 49%)
CMYKcmyk(0%, 63.5%, 64.3%, 50.6%)
CIE-LABlab(30.83, 34.62, 18.88)
CIE-LCHlch(30.83, 39.43, 28.61°)
OKLaboklab(41.7% 0.1021 0.0453)
OKLCHoklch(41.7% 0.112 23.9)
XYZxyz(10.0558, 6.5804, 3.2227)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2D #2D7D7E
analogous
#7E2D54 #7E2E2D #7E562D
triadic
#7E2E2D #2D7E2E #2E2D7E
tetradic
#7E2E2D #547E2D #2D7D7E #562D7E
square
#7E2E2D #547E2D #2D7D7E #562D7E
split-complementary
#7E2E2D #2D7E56 #2D547E
monochromatic
#240D0D #511E1D #7E2E2D #AB3E3D #C6615F

Accessibility & contrast

On white

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

On black

2.32
#7E2E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E2E2D#FFFFFF#000000##FFFFFF
##7E2E2D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2C
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#8A1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e2d;
/* rgb */ color: rgb(126, 46, 45);
/* oklch */ color: oklch(41.7% 0.112 23.9);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7e2e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2d;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2d",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 0.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.11165,
    "h": 23.9
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#7E2E2D
secondary
#5AABAC
accent
#D5D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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