#7B1D22#7B1D22

#7B1D22 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.128 H 22.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7B1D22
RGBrgb(123, 29, 34)
HSLhsl(357, 62%, 30%)
HSVhsv(357, 76%, 48%)
CMYKcmyk(0%, 76.4%, 72.4%, 51.8%)
CIE-LABlab(27.32, 40.32, 21.48)
CIE-LCHlch(27.32, 45.69, 28.04°)
OKLaboklab(38.9% 0.1181 0.0497)
OKLCHoklch(38.9% 0.128 22.8)
XYZxyz(8.8975, 5.2065, 2.0495)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D22 #1D7B76
analogous
#7B1D51 #7B1D22 #7B471D
triadic
#7B1D22 #227B1D #1D227B
tetradic
#7B1D22 #517B1D #1D7B76 #471D7B
square
#7B1D22 #517B1D #1D7B76 #471D7B
split-complementary
#7B1D22 #1D7B47 #1D517B
monochromatic
#190607 #491114 #7B1D22 #AD2930 #D24048

Accessibility & contrast

On white

10.29
#7B1D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D22
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D22#FFFFFF#000000##FFFFFF
##7B1D221.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1d22;
/* rgb */ color: rgb(123, 29, 34);
/* oklch */ color: oklch(38.9% 0.128 22.8);
Tailwind
colors: {
  custom: {
    50: '#a8615d',
    500: '#7b1d22',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d22;
$custom-light: #a8615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d22",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 356.809,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.12818,
    "h": 22.8
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#7B1D22
secondary
#45AFA9
accent
#E5DC43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1D22

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

Preview Lab → · Contrast checker → · Palette generator →

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