#7E2A2C#7E2A2C

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

Color values

HEX#7E2A2C
RGBrgb(126, 42, 44)
HSLhsl(359, 50%, 33%)
HSVhsv(359, 67%, 49%)
CMYKcmyk(0%, 66.7%, 65.1%, 50.6%)
CIE-LABlab(30.10, 36.47, 18.58)
CIE-LCHlch(30.10, 40.93, 27.00°)
OKLaboklab(41.14% 0.1077 0.0445)
OKLCHoklch(41.14% 0.117 22.5)
XYZxyz(9.8877, 6.2747, 3.0729)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A2C #2A7E7C
analogous
#7E2A56 #7E2A2C #7E522A
triadic
#7E2A2C #2C7E2A #2A2C7E
tetradic
#7E2A2C #567E2A #2A7E7C #522A7E
square
#7E2A2C #567E2A #2A7E7C #522A7E
split-complementary
#7E2A2C #2A7E52 #2A567E
monochromatic
#220B0C #501B1C #7E2A2C #AC393C #C85A5D

Accessibility & contrast

On white

9.31
#7E2A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A2C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A2C#FFFFFF#000000##FFFFFF
##7E2A2C1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2B
Deuteranopia (green-blind)
#554E2A
Tritanopia (blue-blind)
#8A182B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a2c;
/* rgb */ color: rgb(126, 42, 44);
/* oklch */ color: oklch(41.1% 0.117 22.5);
Tailwind
colors: {
  custom: {
    50: '#a96865',
    500: '#7e2a2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a2c;
$custom-light: #a96865;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a2c",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 358.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41143,
    "c": 0.11653,
    "h": 22.5
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#7E2A2C
secondary
#56AEAC
accent
#DAD64E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E2A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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