#7B1C2A#7B1C2A

#7B1C2A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.129 H 17.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7B1C2A
RGBrgb(123, 28, 42)
HSLhsl(351, 63%, 30%)
HSVhsv(351, 77%, 48%)
CMYKcmyk(0%, 77.2%, 65.9%, 51.8%)
CIE-LABlab(27.32, 41.17, 16.22)
CIE-LCHlch(27.32, 44.25, 21.50°)
OKLaboklab(38.96% 0.1227 0.039)
OKLCHoklch(38.96% 0.129 17.6)
XYZxyz(9.0025, 5.2100, 2.7216)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C2A #1C7B6D
analogous
#7B1C5A #7B1C2A #7B3E1C
triadic
#7B1C2A #2A7B1C #1C2A7B
tetradic
#7B1C2A #5A7B1C #1C7B6D #3E1C7B
square
#7B1C2A #5A7B1C #1C7B6D #3E1C7B
split-complementary
#7B1C2A #1C7B3E #1C5A7B
monochromatic
#190609 #491119 #7B1C2A #AD273B #D33E54

Accessibility & contrast

On white

10.29
#7B1C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C2A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C2A#FFFFFF#000000##FFFFFF
##7B1C2A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1c2a;
/* rgb */ color: rgb(123, 28, 42);
/* oklch */ color: oklch(39.0% 0.129 17.6);
Tailwind
colors: {
  custom: {
    50: '#a76163',
    500: '#7b1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c2a;
$custom-light: #a76163;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c2a",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 351.158,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.12871,
    "h": 17.6
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#7B1C2A
secondary
#44AF9F
accent
#E6CE42
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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