#7B181B#7B181B

#7B181B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.133 H 24.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7B181B
RGBrgb(123, 24, 27)
HSLhsl(358, 67%, 29%)
HSVhsv(358, 80%, 48%)
CMYKcmyk(0%, 80.5%, 78%, 51.8%)
CIE-LABlab(26.58, 41.76, 25.11)
CIE-LCHlch(26.58, 48.73, 31.02°)
OKLaboklab(38.32% 0.1211 0.0561)
OKLCHoklch(38.32% 0.133 24.9)
XYZxyz(8.6939, 4.9447, 1.5334)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181B #187B78
analogous
#7B184D #7B181B #7B4718
triadic
#7B181B #1B7B18 #181B7B
tetradic
#7B181B #4D7B18 #187B78 #47187B
square
#7B181B #4D7B18 #187B78 #47187B
split-complementary
#7B181B #187B47 #184D7B
monochromatic
#1A0506 #480E10 #7B181B #AE2226 #D8363B

Accessibility & contrast

On white

10.56
#7B181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B181B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B181B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B181B#FFFFFF#000000##FFFFFF
##7B181B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b181b;
/* rgb */ color: rgb(123, 24, 27);
/* oklch */ color: oklch(38.3% 0.133 24.9);
Tailwind
colors: {
  custom: {
    50: '#a95f57',
    500: '#7b181b',
    950: '#000000',
  },
}
SCSS
$custom: #7b181b;
$custom-light: #a95f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181b",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.182,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.13343,
    "h": 24.9
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#7B181B
secondary
#3FB0AC
accent
#EAE53E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B181B

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

Preview Lab → · Contrast checker → · Palette generator →

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