#7E2A2B#7E2A2B

#7E2A2B is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.117 H 23.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E2A2B
RGBrgb(126, 42, 43)
HSLhsl(359, 50%, 33%)
HSVhsv(359, 67%, 49%)
CMYKcmyk(0%, 66.7%, 65.9%, 50.6%)
CIE-LABlab(30.08, 36.40, 19.20)
CIE-LCHlch(30.08, 41.16, 27.82°)
OKLaboklab(41.12% 0.1073 0.0458)
OKLCHoklch(41.12% 0.117 23.1)
XYZxyz(9.8692, 6.2673, 2.9751)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A2B #2A7E7D
analogous
#7E2A55 #7E2A2B #7E532A
triadic
#7E2A2B #2B7E2A #2A2B7E
tetradic
#7E2A2B #557E2A #2A7E7D #532A7E
square
#7E2A2B #557E2A #2A7E7D #532A7E
split-complementary
#7E2A2B #2A7E53 #2A557E
monochromatic
#220B0C #501B1B #7E2A2B #AC393B #C85A5C

Accessibility & contrast

On white

9.32
#7E2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A2B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A2B#FFFFFF#000000##FFFFFF
##7E2A2B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2A
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#8A172B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a2b;
/* rgb */ color: rgb(126, 42, 43);
/* oklch */ color: oklch(41.1% 0.117 23.1);
Tailwind
colors: {
  custom: {
    50: '#a96864',
    500: '#7e2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a2b;
$custom-light: #a96864;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a2b",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 359.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.11665,
    "h": 23.1
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#7E2A2B
secondary
#56AEAD
accent
#DAD84E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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