#7B1B2B#7B1B2B

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

Color values

HEX#7B1B2B
RGBrgb(123, 27, 43)
HSLhsl(350, 64%, 29%)
HSVhsv(350, 78%, 48%)
CMYKcmyk(0%, 78%, 65%, 51.8%)
CIE-LABlab(27.22, 41.60, 15.41)
CIE-LCHlch(27.22, 44.36, 20.33°)
OKLaboklab(38.88% 0.1242 0.0373)
OKLCHoklch(38.88% 0.13 16.7)
XYZxyz(8.9973, 5.1706, 2.8093)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B2B #1B7B6B
analogous
#7B1B5B #7B1B2B #7B3B1B
triadic
#7B1B2B #2B7B1B #1B2B7B
tetradic
#7B1B2B #5B7B1B #1B7B6B #3B1B7B
square
#7B1B2B #5B7B1B #1B7B6B #3B1B7B
split-complementary
#7B1B2B #1B7B3B #1B5B7B
monochromatic
#190609 #491019 #7B1B2B #AD263D #D43C56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1B2B#FFFFFF#000000##FFFFFF
##7B1B2B1.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)
#36332B
Deuteranopia (green-blind)
#4E4828
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1b2b;
/* rgb */ color: rgb(123, 27, 43);
/* oklch */ color: oklch(38.9% 0.130 16.7);
Tailwind
colors: {
  custom: {
    50: '#a76064',
    500: '#7b1b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b2b;
$custom-light: #a76064;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b2b",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 350,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38881,
    "c": 0.12971,
    "h": 16.7
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#7B1B2B
secondary
#43AF9D
accent
#E7CB41
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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