#7B1B2A#7B1B2A

#7B1B2A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.130 H 17.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7B1B2A
RGBrgb(123, 27, 42)
HSLhsl(351, 64%, 29%)
HSVhsv(351, 78%, 48%)
CMYKcmyk(0%, 78%, 65.9%, 51.8%)
CIE-LABlab(27.20, 41.54, 16.05)
CIE-LCHlch(27.20, 44.53, 21.13°)
OKLaboklab(38.86% 0.1238 0.0386)
OKLCHoklch(38.86% 0.13 17.3)
XYZxyz(8.9792, 5.1633, 2.7139)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B2A #1B7B6C
analogous
#7B1B5A #7B1B2A #7B3C1B
triadic
#7B1B2A #2A7B1B #1B2A7B
tetradic
#7B1B2A #5A7B1B #1B7B6C #3C1B7B
square
#7B1B2A #5A7B1B #1B7B6C #3C1B7B
split-complementary
#7B1B2A #1B7B3C #1B5A7B
monochromatic
#190609 #491019 #7B1B2A #AD263B #D43C54

Accessibility & contrast

On white

10.33
#7B1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B2A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B2A#FFFFFF#000000##FFFFFF
##7B1B2A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36332A
Deuteranopia (green-blind)
#4E4827
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1b2a;
/* rgb */ color: rgb(123, 27, 42);
/* oklch */ color: oklch(38.9% 0.130 17.3);
Tailwind
colors: {
  custom: {
    50: '#a86063',
    500: '#7b1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b2a;
$custom-light: #a86063;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b2a",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 350.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38859,
    "c": 0.1297,
    "h": 17.3
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#7B1B2A
secondary
#43AF9E
accent
#E7CD41
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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