#7B1818#7B1818

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

Color values

HEX#7B1818
RGBrgb(123, 24, 24)
HSLhsl(0, 67%, 29%)
HSVhsv(0, 80%, 48%)
CMYKcmyk(0%, 80.5%, 80.5%, 51.8%)
CIE-LABlab(26.54, 41.64, 26.94)
CIE-LCHlch(26.54, 49.60, 32.90°)
OKLaboklab(38.28% 0.12 0.0592)
OKLCHoklch(38.28% 0.134 26.3)
XYZxyz(8.6609, 4.9315, 1.3598)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1818 #187B7B
analogous
#7B184A #7B1818 #7B4A18
triadic
#7B1818 #187B18 #18187B
tetradic
#7B1818 #4A7B18 #187B7B #4A187B
square
#7B1818 #4A7B18 #187B7B #4A187B
split-complementary
#7B1818 #187B4A #184A7B
monochromatic
#1A0505 #480E0E #7B1818 #AE2222 #D83636

Accessibility & contrast

On white

10.57
#7B1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1818
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1818#FFFFFF#000000##FFFFFF
##7B18181.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1818;
/* rgb */ color: rgb(123, 24, 24);
/* oklch */ color: oklch(38.3% 0.134 26.3);
Tailwind
colors: {
  custom: {
    50: '#a95f55',
    500: '#7b1818',
    950: '#000000',
  },
}
SCSS
$custom: #7b1818;
$custom-light: #a95f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1818",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.1338,
    "h": 26.3
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#7B1818
secondary
#3FB0B0
accent
#EAEA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7B1818

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

Preview Lab → · Contrast checker → · Palette generator →

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