#7B1918#7B1918

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

Color values

HEX#7B1918
RGBrgb(123, 25, 24)
HSLhsl(1, 67%, 29%)
HSVhsv(1, 80%, 48%)
CMYKcmyk(0%, 79.7%, 80.5%, 51.8%)
CIE-LABlab(26.66, 41.30, 27.07)
CIE-LCHlch(26.66, 49.38, 33.24°)
OKLaboklab(38.37% 0.1189 0.0595)
OKLCHoklch(38.37% 0.133 26.6)
XYZxyz(8.6819, 4.9735, 1.3668)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1918 #187A7B
analogous
#7B1849 #7B1918 #7B4B18
triadic
#7B1918 #187B19 #19187B
tetradic
#7B1918 #497B18 #187A7B #4B187B
square
#7B1918 #497B18 #187A7B #4B187B
split-complementary
#7B1918 #187B4B #18497B
monochromatic
#1A0505 #480F0E #7B1918 #AE2322 #D83736

Accessibility & contrast

On white

10.53
#7B1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1918
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1918#FFFFFF#000000##FFFFFF
##7B19181.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1918;
/* rgb */ color: rgb(123, 25, 24);
/* oklch */ color: oklch(38.4% 0.133 26.6);
Tailwind
colors: {
  custom: {
    50: '#a95f55',
    500: '#7b1918',
    950: '#000000',
  },
}
SCSS
$custom: #7b1918;
$custom-light: #a95f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1918",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.13297,
    "h": 26.6
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#7B1918
secondary
#3FAFB0
accent
#E8EA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7B1918

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

Preview Lab → · Contrast checker → · Palette generator →

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