#7B2218#7B2218

#7B2218 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.125 H 30.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7B2218
RGBrgb(123, 34, 24)
HSLhsl(6, 67%, 29%)
HSVhsv(6, 80%, 48%)
CMYKcmyk(0%, 72.4%, 80.5%, 51.8%)
CIE-LABlab(27.91, 37.86, 28.39)
CIE-LCHlch(27.91, 47.32, 36.86°)
OKLaboklab(39.3% 0.1081 0.0624)
OKLCHoklch(39.3% 0.125 30)
XYZxyz(8.9063, 5.4223, 1.4416)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2218 #18717B
analogous
#7B1840 #7B2218 #7B5418
triadic
#7B2218 #187B22 #22187B
tetradic
#7B2218 #407B18 #18717B #54187B
square
#7B2218 #407B18 #18717B #54187B
split-complementary
#7B2218 #187B54 #18407B
monochromatic
#1A0705 #48140E #7B2218 #AE3022 #D84636

Accessibility & contrast

On white

10.08
#7B2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2218
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2218#FFFFFF#000000##FFFFFF
##7B22181.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3516
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#880220
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2218;
/* rgb */ color: rgb(123, 34, 24);
/* oklch */ color: oklch(39.3% 0.125 30.0);
Tailwind
colors: {
  custom: {
    50: '#a96355',
    500: '#7b2218',
    950: '#000000',
  },
}
SCSS
$custom: #7b2218;
$custom-light: #a96355;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2218",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 6.061,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.393,
    "c": 0.1248,
    "h": 30
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#7B2218
secondary
#3FA4B0
accent
#D9EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2218

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

Preview Lab → · Contrast checker → · Palette generator →

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