#7B1718#7B1718

#7B1718 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 26.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#7B1718
RGBrgb(123, 23, 24)
HSLhsl(359, 68%, 29%)
HSVhsv(359, 81%, 48%)
CMYKcmyk(0%, 81.3%, 80.5%, 51.8%)
CIE-LABlab(26.42, 41.97, 26.82)
CIE-LCHlch(26.42, 49.80, 32.58°)
OKLaboklab(38.19% 0.121 0.059)
OKLCHoklch(38.19% 0.135 26)
XYZxyz(8.6407, 4.8911, 1.3531)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1718 #177B7A
analogous
#7B174A #7B1718 #7B4817
triadic
#7B1718 #187B17 #17187B
tetradic
#7B1718 #4A7B17 #177B7A #48177B
square
#7B1718 #4A7B17 #177B7A #48177B
split-complementary
#7B1718 #177B48 #174A7B
monochromatic
#1A0505 #470D0E #7B1718 #AF2122 #D93335

Accessibility & contrast

On white

10.62
#7B1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1718
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1718#FFFFFF#000000##FFFFFF
##7B17181.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363117
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1718;
/* rgb */ color: rgb(123, 23, 24);
/* oklch */ color: oklch(38.2% 0.135 26.0);
Tailwind
colors: {
  custom: {
    50: '#a95e55',
    500: '#7b1718',
    950: '#000000',
  },
}
SCSS
$custom: #7b1718;
$custom-light: #a95e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1718",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.1346,
    "h": 26
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#7B1718
secondary
#3EB0AF
accent
#EBEA3C
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7B1718

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

Preview Lab → · Contrast checker → · Palette generator →

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