#7B181F#7B181F

#7B181F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.133 H 22.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7B181F
RGBrgb(123, 24, 31)
HSLhsl(356, 67%, 29%)
HSVhsv(356, 80%, 48%)
CMYKcmyk(0%, 80.5%, 74.8%, 51.8%)
CIE-LABlab(26.63, 41.94, 22.61)
CIE-LCHlch(26.63, 47.65, 28.33°)
OKLaboklab(38.38% 0.1226 0.0516)
OKLCHoklch(38.38% 0.133 22.8)
XYZxyz(8.7433, 4.9645, 1.7939)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181F #187B74
analogous
#7B1851 #7B181F #7B4318
triadic
#7B181F #1F7B18 #181F7B
tetradic
#7B181F #517B18 #187B74 #43187B
square
#7B181F #517B18 #187B74 #43187B
split-complementary
#7B181F #187B43 #18517B
monochromatic
#1A0506 #480E12 #7B181F #AE222C #D83641

Accessibility & contrast

On white

10.54
#7B181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B181F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B181F#FFFFFF#000000##FFFFFF
##7B181F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b181f;
/* rgb */ color: rgb(123, 24, 31);
/* oklch */ color: oklch(38.4% 0.133 22.8);
Tailwind
colors: {
  custom: {
    50: '#a95f5a',
    500: '#7b181f',
    950: '#000000',
  },
}
SCSS
$custom: #7b181f;
$custom-light: #a95f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181f",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 355.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.13301,
    "h": 22.8
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#7B181F
secondary
#3FB0A8
accent
#EADE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B181F

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

Preview Lab → · Contrast checker → · Palette generator →

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