#7B2118#7B2118

#7B2118 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.126 H 29.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7B2118
RGBrgb(123, 33, 24)
HSLhsl(5, 67%, 29%)
HSVhsv(5, 80%, 48%)
CMYKcmyk(0%, 73.2%, 80.5%, 51.8%)
CIE-LABlab(27.75, 38.27, 28.23)
CIE-LCHlch(27.75, 47.55, 36.41°)
OKLaboklab(39.19% 0.1094 0.062)
OKLCHoklch(39.19% 0.126 29.6)
XYZxyz(8.8781, 5.3660, 1.4322)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2118 #18727B
analogous
#7B1841 #7B2118 #7B5318
triadic
#7B2118 #187B21 #21187B
tetradic
#7B2118 #417B18 #18727B #53187B
square
#7B2118 #417B18 #18727B #53187B
split-complementary
#7B2118 #187B53 #18417B
monochromatic
#1A0705 #48130E #7B2118 #AE2F22 #D84436

Accessibility & contrast

On white

10.13
#7B2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2118
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2118#FFFFFF#000000##FFFFFF
##7B21181.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b2118;
/* rgb */ color: rgb(123, 33, 24);
/* oklch */ color: oklch(39.2% 0.126 29.6);
Tailwind
colors: {
  custom: {
    50: '#a96355',
    500: '#7b2118',
    950: '#000000',
  },
}
SCSS
$custom: #7b2118;
$custom-light: #a96355;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2118",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 5.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.12575,
    "h": 29.6
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#7B2118
secondary
#3FA5B0
accent
#DBEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7B2118

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

Preview Lab → · Contrast checker → · Palette generator →

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