#7E2B2D#7E2B2D

#7E2B2D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.115 H 22.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7E2B2D
RGBrgb(126, 43, 45)
HSLhsl(359, 49%, 33%)
HSVhsv(359, 66%, 49%)
CMYKcmyk(0%, 65.9%, 64.3%, 50.6%)
CIE-LABlab(30.29, 36.07, 18.19)
CIE-LCHlch(30.29, 40.39, 26.76°)
OKLaboklab(41.3% 0.1066 0.0437)
OKLCHoklch(41.3% 0.115 22.3)
XYZxyz(9.9427, 6.3542, 3.1850)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B2D #2B7E7C
analogous
#7E2B56 #7E2B2D #7E522B
triadic
#7E2B2D #2D7E2B #2B2D7E
tetradic
#7E2B2D #567E2B #2B7E7C #522B7E
square
#7E2B2D #567E2B #2B7E7C #522B7E
split-complementary
#7E2B2D #2B7E52 #2B567E
monochromatic
#230C0C #501B1D #7E2B2D #AC3B3D #C75C5F

Accessibility & contrast

On white

9.25
#7E2B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B2D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B2D#FFFFFF#000000##FFFFFF
##7E2B2D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2C
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#8A192C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b2d;
/* rgb */ color: rgb(126, 43, 45);
/* oklch */ color: oklch(41.3% 0.115 22.3);
Tailwind
colors: {
  custom: {
    50: '#a96965',
    500: '#7e2b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b2d;
$custom-light: #a96965;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b2d",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 45
  },
  "hsl": {
    "h": 358.554,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.11524,
    "h": 22.3
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#7E2B2D
secondary
#58ADAB
accent
#D9D54F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E2B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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