#7B2918#7B2918

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

Color values

HEX#7B2918
RGBrgb(123, 41, 24)
HSLhsl(10, 67%, 29%)
HSVhsv(10, 80%, 48%)
CMYKcmyk(0%, 66.7%, 80.5%, 51.8%)
CIE-LABlab(29.07, 34.71, 29.59)
CIE-LCHlch(29.07, 45.61, 40.45°)
OKLaboklab(40.17% 0.0983 0.065)
OKLCHoklch(40.17% 0.118 33.5)
XYZxyz(9.1272, 5.8641, 1.5153)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2918 #186A7B
analogous
#7B1839 #7B2918 #7B5B18
triadic
#7B2918 #187B29 #29187B
tetradic
#7B2918 #397B18 #186A7B #5B187B
square
#7B2918 #397B18 #186A7B #5B187B
split-complementary
#7B2918 #187B5B #18397B
monochromatic
#1A0905 #48180E #7B2918 #AE3A22 #D85236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2918#FFFFFF#000000##FFFFFF
##7B29181.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)
#403916
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#881326
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2918;
/* rgb */ color: rgb(123, 41, 24);
/* oklch */ color: oklch(40.2% 0.118 33.5);
Tailwind
colors: {
  custom: {
    50: '#a86756',
    500: '#7b2918',
    950: '#000000',
  },
}
SCSS
$custom: #7b2918;
$custom-light: #a86756;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2918",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 10.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.11784,
    "h": 33.5
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#7B2918
secondary
#3F9CB0
accent
#CDEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2918

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

Preview Lab → · Contrast checker → · Palette generator →

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