#7E2D2A#7E2D2A

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

Color values

HEX#7E2D2A
RGBrgb(126, 45, 42)
HSLhsl(2, 50%, 33%)
HSVhsv(2, 67%, 49%)
CMYKcmyk(0%, 64.3%, 66.7%, 50.6%)
CIE-LABlab(30.59, 34.90, 20.50)
CIE-LCHlch(30.59, 40.47, 30.42°)
OKLaboklab(41.51% 0.1023 0.0486)
OKLCHoklch(41.51% 0.113 25.4)
XYZxyz(9.9615, 6.4809, 2.9164)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D2A #2A7B7E
analogous
#7E2A51 #7E2D2A #7E572A
triadic
#7E2D2A #2A7E2D #2D2A7E
tetradic
#7E2D2A #517E2A #2A7B7E #572A7E
square
#7E2D2A #517E2A #2A7B7E #572A7E
split-complementary
#7E2D2A #2A7E57 #2A517E
monochromatic
#220C0B #501D1B #7E2D2A #AC3D39 #C85E5A

Accessibility & contrast

On white

9.15
#7E2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D2A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D2A#FFFFFF#000000##FFFFFF
##7E2D2A1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2d2a;
/* rgb */ color: rgb(126, 45, 42);
/* oklch */ color: oklch(41.5% 0.113 25.4);
Tailwind
colors: {
  custom: {
    50: '#a96a63',
    500: '#7e2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d2a;
$custom-light: #a96a63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d2a",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 2.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.11329,
    "h": 25.4
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#7E2D2A
secondary
#56ABAE
accent
#D5DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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