#7B181E#7B181E

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

Color values

HEX#7B181E
RGBrgb(123, 24, 30)
HSLhsl(356, 67%, 29%)
HSVhsv(356, 80%, 48%)
CMYKcmyk(0%, 80.5%, 75.6%, 51.8%)
CIE-LABlab(26.62, 41.90, 23.24)
CIE-LCHlch(26.62, 47.91, 29.02°)
OKLaboklab(38.37% 0.1222 0.0528)
OKLCHoklch(38.37% 0.133 23.4)
XYZxyz(8.7304, 4.9593, 1.7256)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181E #187B75
analogous
#7B1850 #7B181E #7B4418
triadic
#7B181E #1E7B18 #181E7B
tetradic
#7B181E #507B18 #187B75 #44187B
square
#7B181E #507B18 #187B75 #44187B
split-complementary
#7B181E #187B44 #18507B
monochromatic
#1A0506 #480E12 #7B181E #AE222A #D83640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B181E#FFFFFF#000000##FFFFFF
##7B181E1.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)
#36311D
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b181e;
/* rgb */ color: rgb(123, 24, 30);
/* oklch */ color: oklch(38.4% 0.133 23.4);
Tailwind
colors: {
  custom: {
    50: '#a95f5a',
    500: '#7b181e',
    950: '#000000',
  },
}
SCSS
$custom: #7b181e;
$custom-light: #a95f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181e",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.364,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.13311,
    "h": 23.4
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#7B181E
secondary
#3FB0A9
accent
#EAE03E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B181E

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

Preview Lab → · Contrast checker → · Palette generator →

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