#7B1721#7B1721

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

Color values

HEX#7B1721
RGBrgb(123, 23, 33)
HSLhsl(354, 68%, 29%)
HSVhsv(354, 81%, 48%)
CMYKcmyk(0%, 81.3%, 73.2%, 51.8%)
CIE-LABlab(26.55, 42.37, 21.21)
CIE-LCHlch(26.55, 47.38, 26.59°)
OKLaboklab(38.33% 0.1244 0.0489)
OKLCHoklch(38.33% 0.134 21.5)
XYZxyz(8.7503, 4.9349, 1.9303)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1721 #177B71
analogous
#7B1753 #7B1721 #7B3F17
triadic
#7B1721 #217B17 #17217B
tetradic
#7B1721 #537B17 #177B71 #3F177B
square
#7B1721 #537B17 #177B71 #3F177B
split-complementary
#7B1721 #177B3F #17537B
monochromatic
#1A0507 #470D13 #7B1721 #AF212F #D93344

Accessibility & contrast

On white

10.57
#7B1721 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1721
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1721#FFFFFF#000000##FFFFFF
##7B17211.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353120
Deuteranopia (green-blind)
#4E461E
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1721;
/* rgb */ color: rgb(123, 23, 33);
/* oklch */ color: oklch(38.3% 0.134 21.5);
Tailwind
colors: {
  custom: {
    50: '#a85f5c',
    500: '#7b1721',
    950: '#000000',
  },
}
SCSS
$custom: #7b1721;
$custom-light: #a85f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1721",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 33
  },
  "hsl": {
    "h": 354,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.1337,
    "h": 21.5
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#7B1721
secondary
#3EB0A5
accent
#EBDA3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1721

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

Preview Lab → · Contrast checker → · Palette generator →

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