#7B1E1F#7B1E1F

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

Color values

HEX#7B1E1F
RGBrgb(123, 30, 31)
HSLhsl(359, 61%, 30%)
HSVhsv(359, 76%, 48%)
CMYKcmyk(0%, 75.6%, 74.8%, 51.8%)
CIE-LABlab(27.41, 39.79, 23.52)
CIE-LCHlch(27.41, 46.22, 30.59°)
OKLaboklab(38.96% 0.1157 0.0536)
OKLCHoklch(38.96% 0.128 24.9)
XYZxyz(8.8810, 5.2398, 1.8398)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E1F #1E7B7A
analogous
#7B1E4D #7B1E1F #7B4C1E
triadic
#7B1E1F #1F7B1E #1E1F7B
tetradic
#7B1E1F #4D7B1E #1E7B7A #4C1E7B
square
#7B1E1F #4D7B1E #1E7B7A #4C1E7B
split-complementary
#7B1E1F #1E7B4C #1E4D7B
monochromatic
#190606 #4A1213 #7B1E1F #AC2A2B #D14244

Accessibility & contrast

On white

10.26
#7B1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E1F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E1F#FFFFFF#000000##FFFFFF
##7B1E1F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341E
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e1f;
/* rgb */ color: rgb(123, 30, 31);
/* oklch */ color: oklch(39.0% 0.128 24.9);
Tailwind
colors: {
  custom: {
    50: '#a8615a',
    500: '#7b1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e1f;
$custom-light: #a8615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e1f",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.355,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.12756,
    "h": 24.9
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#7B1E1F
secondary
#46AEAD
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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