#7B1720#7B1720

#7B1720 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 22.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7B1720
RGBrgb(123, 23, 32)
HSLhsl(355, 68%, 29%)
HSVhsv(355, 81%, 48%)
CMYKcmyk(0%, 81.3%, 74%, 51.8%)
CIE-LABlab(26.53, 42.32, 21.84)
CIE-LCHlch(26.53, 47.63, 27.30°)
OKLaboklab(38.31% 0.124 0.0502)
OKLCHoklch(38.31% 0.134 22)
XYZxyz(8.7365, 4.9294, 1.8577)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1720 #177B72
analogous
#7B1752 #7B1720 #7B4017
triadic
#7B1720 #207B17 #17207B
tetradic
#7B1720 #527B17 #177B72 #40177B
square
#7B1720 #527B17 #177B72 #40177B
split-complementary
#7B1720 #177B40 #17527B
monochromatic
#1A0507 #470D13 #7B1720 #AF212D #D93342

Accessibility & contrast

On white

10.58
#7B1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1720
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1720#FFFFFF#000000##FFFFFF
##7B17201.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311F
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1720;
/* rgb */ color: rgb(123, 23, 32);
/* oklch */ color: oklch(38.3% 0.134 22.0);
Tailwind
colors: {
  custom: {
    50: '#a95f5b',
    500: '#7b1720',
    950: '#000000',
  },
}
SCSS
$custom: #7b1720;
$custom-light: #a95f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1720",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 354.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.13378,
    "h": 22
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#7B1720
secondary
#3EB0A6
accent
#EBDC3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1720

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

Preview Lab → · Contrast checker → · Palette generator →

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