#7B181C#7B181C

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

Color values

HEX#7B181C
RGBrgb(123, 24, 28)
HSLhsl(358, 67%, 29%)
HSVhsv(358, 80%, 48%)
CMYKcmyk(0%, 80.5%, 77.2%, 51.8%)
CIE-LABlab(26.59, 41.81, 24.49)
CIE-LCHlch(26.59, 48.45, 30.36°)
OKLaboklab(38.34% 0.1214 0.055)
OKLCHoklch(38.34% 0.133 24.4)
XYZxyz(8.7056, 4.9494, 1.5953)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B181C #187B77
analogous
#7B184E #7B181C #7B4618
triadic
#7B181C #1C7B18 #181C7B
tetradic
#7B181C #4E7B18 #187B77 #46187B
square
#7B181C #4E7B18 #187B77 #46187B
split-complementary
#7B181C #187B46 #184E7B
monochromatic
#1A0506 #480E10 #7B181C #AE2228 #D8363C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b181c;
/* rgb */ color: rgb(123, 24, 28);
/* oklch */ color: oklch(38.3% 0.133 24.4);
Tailwind
colors: {
  custom: {
    50: '#a95f58',
    500: '#7b181c',
    950: '#000000',
  },
}
SCSS
$custom: #7b181c;
$custom-light: #a95f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b181c",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.13332,
    "h": 24.4
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#7B181C
secondary
#3FB0AB
accent
#EAE33E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B181C

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

Preview Lab → · Contrast checker → · Palette generator →

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