#7B1F22#7B1F22

#7B1F22 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.126 H 23.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1F22
RGBrgb(123, 31, 34)
HSLhsl(358, 60%, 30%)
HSVhsv(358, 75%, 48%)
CMYKcmyk(0%, 74.8%, 72.4%, 51.8%)
CIE-LABlab(27.59, 39.55, 21.82)
CIE-LCHlch(27.59, 45.17, 28.88°)
OKLaboklab(39.11% 0.1157 0.0505)
OKLCHoklch(39.11% 0.126 23.6)
XYZxyz(8.9481, 5.3078, 2.0664)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F22 #1F7B78
analogous
#7B1F50 #7B1F22 #7B4A1F
triadic
#7B1F22 #227B1F #1F227B
tetradic
#7B1F22 #507B1F #1F7B78 #4A1F7B
square
#7B1F22 #507B1F #1F7B78 #4A1F7B
split-complementary
#7B1F22 #1F7B4A #1F507B
monochromatic
#190607 #4A1314 #7B1F22 #AC2B30 #D04449

Accessibility & contrast

On white

10.19
#7B1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F22
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F22#FFFFFF#000000##FFFFFF
##7B1F221.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393521
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1f22;
/* rgb */ color: rgb(123, 31, 34);
/* oklch */ color: oklch(39.1% 0.126 23.6);
Tailwind
colors: {
  custom: {
    50: '#a8625d',
    500: '#7b1f22',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f22;
$custom-light: #a8625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f22",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.12621,
    "h": 23.6
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#7B1F22
secondary
#48AEAB
accent
#E3DE45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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