#7B1526#7B1526

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

Color values

HEX#7B1526
RGBrgb(123, 21, 38)
HSLhsl(350, 71%, 28%)
HSVhsv(350, 83%, 48%)
CMYKcmyk(0%, 82.9%, 69.1%, 51.8%)
CIE-LABlab(26.41, 43.26, 17.73)
CIE-LCHlch(26.41, 46.76, 22.28°)
OKLaboklab(38.26% 0.1285 0.042)
OKLCHoklch(38.26% 0.135 18.1)
XYZxyz(8.7874, 4.8886, 2.3142)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1526 #157B6A
analogous
#7B1559 #7B1526 #7B3715
triadic
#7B1526 #267B15 #15267B
tetradic
#7B1526 #597B15 #157B6A #37157B
square
#7B1526 #597B15 #157B6A #37157B
split-complementary
#7B1526 #157B37 #15597B
monochromatic
#1A0408 #470C16 #7B1526 #AF1E36 #DB2F4C

Accessibility & contrast

On white

10.62
#7B1526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1526
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1526#FFFFFF#000000##FFFFFF
##7B15261.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343126
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1526;
/* rgb */ color: rgb(123, 21, 38);
/* oklch */ color: oklch(38.3% 0.135 18.1);
Tailwind
colors: {
  custom: {
    50: '#a85e60',
    500: '#7b1526',
    950: '#000000',
  },
}
SCSS
$custom: #7b1526;
$custom-light: #a85e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1526",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 350,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.13515,
    "h": 18.1
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#7B1526
secondary
#3BB09D
accent
#EED03A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1526

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

Preview Lab → · Contrast checker → · Palette generator →

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