#7B1A2E#7B1A2E

#7B1A2E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.131 H 14.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7B1A2E
RGBrgb(123, 26, 46)
HSLhsl(348, 65%, 29%)
HSVhsv(348, 79%, 48%)
CMYKcmyk(0%, 78.9%, 62.6%, 51.8%)
CIE-LABlab(27.15, 42.16, 13.32)
CIE-LCHlch(27.15, 44.21, 17.53°)
OKLaboklab(38.86% 0.1266 0.0327)
OKLCHoklch(38.86% 0.131 14.5)
XYZxyz(9.0318, 5.1483, 3.1024)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A2E #1A7B67
analogous
#7B1A5F #7B1A2E #7B371A
triadic
#7B1A2E #2E7B1A #1A2E7B
tetradic
#7B1A2E #5F7B1A #1A7B67 #371A7B
square
#7B1A2E #5F7B1A #1A7B67 #371A7B
split-complementary
#7B1A2E #1A7B37 #1A5F7B
monochromatic
#190509 #480F1B #7B1A2E #AE2541 #D53A5A

Accessibility & contrast

On white

10.35
#7B1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A2E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A2E#FFFFFF#000000##FFFFFF
##7B1A2E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332E
Deuteranopia (green-blind)
#4E472B
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a2e;
/* rgb */ color: rgb(123, 26, 46);
/* oklch */ color: oklch(38.9% 0.131 14.5);
Tailwind
colors: {
  custom: {
    50: '#a76066',
    500: '#7b1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a2e;
$custom-light: #a76066;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a2e",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 347.629,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.13078,
    "h": 14.5
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#7B1A2E
secondary
#42AF99
accent
#E8C540
background
#FBF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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