#7E1B2E#7E1B2E

#7E1B2E is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 15.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1B2E
RGBrgb(126, 27, 46)
HSLhsl(348, 65%, 30%)
HSVhsv(348, 79%, 49%)
CMYKcmyk(0%, 78.6%, 63.5%, 50.6%)
CIE-LABlab(27.89, 42.76, 14.41)
CIE-LCHlch(27.89, 45.13, 18.62°)
OKLaboklab(39.52% 0.1282 0.0351)
OKLCHoklch(39.52% 0.133 15.3)
XYZxyz(9.4902, 5.4181, 3.1303)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B2E #1B7E6B
analogous
#7E1B5F #7E1B2E #7E3A1B
triadic
#7E1B2E #2E7E1B #1B2E7E
tetradic
#7E1B2E #5F7E1B #1B7E6B #3A1B7E
square
#7E1B2E #5F7E1B #1B7E6B #3A1B7E
split-complementary
#7E1B2E #1B7E3A #1B5F7E
monochromatic
#190509 #4C101C #7E1B2E #B02640 #D63E5B

Accessibility & contrast

On white

10.08
#7E1B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B2E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B2E#FFFFFF#000000##FFFFFF
##7E1B2E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b2e;
/* rgb */ color: rgb(126, 27, 46);
/* oklch */ color: oklch(39.5% 0.133 15.3);
Tailwind
colors: {
  custom: {
    50: '#aa6166',
    500: '#7e1b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b2e;
$custom-light: #aa6166;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b2e",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 348.485,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.13289,
    "h": 15.3
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#7E1B2E
secondary
#43B29D
accent
#E8C840
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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