#7B181D#7B181D

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

Color values

HEX#7B181D
RGBrgb(123, 24, 29)
HSLhsl(357, 67%, 29%)
HSVhsv(357, 80%, 48%)
CMYKcmyk(0%, 80.5%, 76.4%, 51.8%)
CIE-LABlab(26.60, 41.85, 23.87)
CIE-LCHlch(26.60, 48.18, 29.70°)
OKLaboklab(38.35% 0.1218 0.0539)
OKLCHoklch(38.35% 0.133 23.9)
XYZxyz(8.7178, 4.9543, 1.6594)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181D #187B76
analogous
#7B184F #7B181D #7B4518
triadic
#7B181D #1D7B18 #181D7B
tetradic
#7B181D #4F7B18 #187B76 #45187B
square
#7B181D #4F7B18 #187B76 #45187B
split-complementary
#7B181D #187B45 #184F7B
monochromatic
#1A0506 #480E11 #7B181D #AE2229 #D8363E

Accessibility & contrast

On white

10.55
#7B181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B181D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B181D#FFFFFF#000000##FFFFFF
##7B181D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b181d;
/* rgb */ color: rgb(123, 24, 29);
/* oklch */ color: oklch(38.3% 0.133 23.9);
Tailwind
colors: {
  custom: {
    50: '#a95f59',
    500: '#7b181d',
    950: '#000000',
  },
}
SCSS
$custom: #7b181d;
$custom-light: #a95f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181d",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 356.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.13321,
    "h": 23.9
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#7B181D
secondary
#3FB0AA
accent
#EAE23E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B181D

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

Preview Lab → · Contrast checker → · Palette generator →

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