#7B1522#7B1522

#7B1522 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 20.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#7B1522
RGBrgb(123, 21, 34)
HSLhsl(352, 71%, 28%)
HSVhsv(352, 83%, 48%)
CMYKcmyk(0%, 82.9%, 72.4%, 51.8%)
CIE-LABlab(26.34, 43.05, 20.30)
CIE-LCHlch(26.34, 47.59, 25.25°)
OKLaboklab(38.18% 0.1268 0.0471)
OKLCHoklch(38.18% 0.135 20.4)
XYZxyz(8.7263, 4.8641, 1.9925)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1522 #157B6E
analogous
#7B1555 #7B1522 #7B3B15
triadic
#7B1522 #227B15 #15227B
tetradic
#7B1522 #557B15 #157B6E #3B157B
square
#7B1522 #557B15 #157B6E #3B157B
split-complementary
#7B1522 #157B3B #15557B
monochromatic
#1A0407 #470C14 #7B1522 #AF1E30 #DB2F45

Accessibility & contrast

On white

10.65
#7B1522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7B1522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1522
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1522#FFFFFF#000000##FFFFFF
##7B15221.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343122
Deuteranopia (green-blind)
#4E461F
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1522;
/* rgb */ color: rgb(123, 21, 34);
/* oklch */ color: oklch(38.2% 0.135 20.4);
Tailwind
colors: {
  custom: {
    50: '#a85e5d',
    500: '#7b1522',
    950: '#000000',
  },
}
SCSS
$custom: #7b1522;
$custom-light: #a85e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1522",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 34
  },
  "hsl": {
    "h": 352.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.13529,
    "h": 20.4
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#7B1522
secondary
#3BB0A1
accent
#EED73A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1522

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

Preview Lab → · Contrast checker → · Palette generator →

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