#7B1D1F#7B1D1F

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

Color values

HEX#7B1D1F
RGBrgb(123, 29, 31)
HSLhsl(359, 62%, 30%)
HSVhsv(359, 76%, 48%)
CMYKcmyk(0%, 76.4%, 74.8%, 51.8%)
CIE-LABlab(27.27, 40.17, 23.36)
CIE-LCHlch(27.27, 46.47, 30.18°)
OKLaboklab(38.85% 0.117 0.0533)
OKLCHoklch(38.85% 0.129 24.5)
XYZxyz(8.8561, 5.1900, 1.8315)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D1F #1D7B79
analogous
#7B1D4E #7B1D1F #7B4A1D
triadic
#7B1D1F #1F7B1D #1D1F7B
tetradic
#7B1D1F #4E7B1D #1D7B79 #4A1D7B
square
#7B1D1F #4E7B1D #1D7B79 #4A1D7B
split-complementary
#7B1D1F #1D7B4A #1D4E7B
monochromatic
#190606 #491113 #7B1D1F #AD292B #D24043

Accessibility & contrast

On white

10.31
#7B1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D1F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D1F#FFFFFF#000000##FFFFFF
##7B1D1F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331E
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1d1f;
/* rgb */ color: rgb(123, 29, 31);
/* oklch */ color: oklch(38.9% 0.129 24.5);
Tailwind
colors: {
  custom: {
    50: '#a8615a',
    500: '#7b1d1f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d1f;
$custom-light: #a8615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d1f",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 358.723,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.12851,
    "h": 24.5
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#7B1D1F
secondary
#45AFAC
accent
#E5E143
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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