#7B1E26#7B1E26

#7B1E26 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.127 H 20.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7B1E26
RGBrgb(123, 30, 38)
HSLhsl(355, 61%, 30%)
HSVhsv(355, 76%, 48%)
CMYKcmyk(0%, 75.6%, 69.1%, 51.8%)
CIE-LABlab(27.52, 40.17, 19.12)
CIE-LCHlch(27.52, 44.49, 25.45°)
OKLaboklab(39.08% 0.1186 0.0451)
OKLCHoklch(39.08% 0.127 20.8)
XYZxyz(8.9835, 5.2808, 2.3796)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E26 #1E7B73
analogous
#7B1E54 #7B1E26 #7B451E
triadic
#7B1E26 #267B1E #1E267B
tetradic
#7B1E26 #547B1E #1E7B73 #451E7B
square
#7B1E26 #547B1E #1E7B73 #451E7B
split-complementary
#7B1E26 #1E7B45 #1E547B
monochromatic
#190608 #4A1217 #7B1E26 #AC2A35 #D1424F

Accessibility & contrast

On white

10.22
#7B1E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E26
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E26#FFFFFF#000000##FFFFFF
##7B1E261.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e26;
/* rgb */ color: rgb(123, 30, 38);
/* oklch */ color: oklch(39.1% 0.127 20.8);
Tailwind
colors: {
  custom: {
    50: '#a86260',
    500: '#7b1e26',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e26;
$custom-light: #a86260;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e26",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 354.839,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.12685,
    "h": 20.8
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7B1E26
secondary
#46AEA6
accent
#E4D644
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1E26

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

Preview Lab → · Contrast checker → · Palette generator →

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