#7B2917#7B2917

#7B2917 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.118 H 33.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7B2917
RGBrgb(123, 41, 23)
HSLhsl(11, 68%, 29%)
HSVhsv(11, 81%, 48%)
CMYKcmyk(0%, 66.7%, 81.3%, 51.8%)
CIE-LABlab(29.06, 34.67, 30.15)
CIE-LCHlch(29.06, 45.95, 41.01°)
OKLaboklab(40.16% 0.098 0.0659)
OKLCHoklch(40.16% 0.118 33.9)
XYZxyz(9.1170, 5.8600, 1.4615)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2917 #17697B
analogous
#7B1737 #7B2917 #7B5B17
triadic
#7B2917 #177B29 #29177B
tetradic
#7B2917 #377B17 #17697B #5B177B
square
#7B2917 #377B17 #17697B #5B177B
split-complementary
#7B2917 #177B5B #17377B
monochromatic
#1A0905 #47180D #7B2917 #AF3A21 #D95133

Accessibility & contrast

On white

9.67
#7B2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2917
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2917#FFFFFF#000000##FFFFFF
##7B29171.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#881325
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2917;
/* rgb */ color: rgb(123, 41, 23);
/* oklch */ color: oklch(40.2% 0.118 33.9);
Tailwind
colors: {
  custom: {
    50: '#a86755',
    500: '#7b2917',
    950: '#000000',
  },
}
SCSS
$custom: #7b2917;
$custom-light: #a86755;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2917",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.11807,
    "h": 33.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#7B2917
secondary
#3E9BB0
accent
#CCEB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2917

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

Preview Lab → · Contrast checker → · Palette generator →

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