#7B1F2F#7B1F2F

#7B1F2F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.126 H 15.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7B1F2F
RGBrgb(123, 31, 47)
HSLhsl(350, 60%, 30%)
HSVhsv(350, 75%, 48%)
CMYKcmyk(0%, 74.8%, 61.8%, 51.8%)
CIE-LABlab(27.84, 40.38, 13.56)
CIE-LCHlch(27.84, 42.60, 18.56°)
OKLaboklab(39.37% 0.1211 0.0333)
OKLCHoklch(39.37% 0.126 15.4)
XYZxyz(9.1724, 5.3975, 3.2476)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F2F #1F7B6B
analogous
#7B1F5D #7B1F2F #7B3D1F
triadic
#7B1F2F #2F7B1F #1F2F7B
tetradic
#7B1F2F #5D7B1F #1F7B6B #3D1F7B
square
#7B1F2F #5D7B1F #1F7B6B #3D1F7B
split-complementary
#7B1F2F #1F7B3D #1F5D7B
monochromatic
#19060A #4A131C #7B1F2F #AC2B42 #D0445D

Accessibility & contrast

On white

10.10
#7B1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F2F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F2F#FFFFFF#000000##FFFFFF
##7B1F2F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37362F
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#870526
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1f2f;
/* rgb */ color: rgb(123, 31, 47);
/* oklch */ color: oklch(39.4% 0.126 15.4);
Tailwind
colors: {
  custom: {
    50: '#a76267',
    500: '#7b1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f2f;
$custom-light: #a76267;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f2f",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.565,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.12562,
    "h": 15.4
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#7B1F2F
secondary
#48AE9C
accent
#E3C745
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7B1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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