#7B1917#7B1917

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

Color values

HEX#7B1917
RGBrgb(123, 25, 23)
HSLhsl(1, 68%, 29%)
HSVhsv(1, 81%, 48%)
CMYKcmyk(0%, 79.7%, 81.3%, 51.8%)
CIE-LABlab(26.65, 41.27, 27.67)
CIE-LCHlch(26.65, 49.68, 33.84°)
OKLaboklab(38.36% 0.1186 0.0605)
OKLCHoklch(38.36% 0.133 27)
XYZxyz(8.6717, 4.9695, 1.3130)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1917 #17797B
analogous
#7B1747 #7B1917 #7B4B17
triadic
#7B1917 #177B19 #19177B
tetradic
#7B1917 #477B17 #17797B #4B177B
square
#7B1917 #477B17 #17797B #4B177B
split-complementary
#7B1917 #177B4B #17477B
monochromatic
#1A0505 #470F0D #7B1917 #AF2321 #D93733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1917#FFFFFF#000000##FFFFFF
##7B19171.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)
#373116
Deuteranopia (green-blind)
#4F4713
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1917;
/* rgb */ color: rgb(123, 25, 23);
/* oklch */ color: oklch(38.4% 0.133 27.0);
Tailwind
colors: {
  custom: {
    50: '#a95f54',
    500: '#7b1917',
    950: '#000000',
  },
}
SCSS
$custom: #7b1917;
$custom-light: #a95f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1917",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.1331,
    "h": 27
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#7B1917
secondary
#3EAEB0
accent
#E8EB3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7B1917

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

Preview Lab → · Contrast checker → · Palette generator →

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