#7B1D26#7B1D26

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

Color values

HEX#7B1D26
RGBrgb(123, 29, 38)
HSLhsl(354, 62%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 76.4%, 69.1%, 51.8%)
CIE-LABlab(27.38, 40.55, 18.95)
CIE-LCHlch(27.38, 44.76, 25.04°)
OKLaboklab(38.97% 0.1198 0.0447)
OKLCHoklch(38.97% 0.128 20.5)
XYZxyz(8.9586, 5.2310, 2.3713)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D26 #1D7B72
analogous
#7B1D55 #7B1D26 #7B431D
triadic
#7B1D26 #267B1D #1D267B
tetradic
#7B1D26 #557B1D #1D7B72 #431D7B
square
#7B1D26 #557B1D #1D7B72 #431D7B
split-complementary
#7B1D26 #1D7B43 #1D557B
monochromatic
#190608 #491117 #7B1D26 #AD2935 #D2404E

Accessibility & contrast

On white

10.26
#7B1D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D26
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D26#FFFFFF#000000##FFFFFF
##7B1D261.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d26;
/* rgb */ color: rgb(123, 29, 38);
/* oklch */ color: oklch(39.0% 0.128 20.5);
Tailwind
colors: {
  custom: {
    50: '#a86160',
    500: '#7b1d26',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d26;
$custom-light: #a86160;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d26",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 354.255,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.12786,
    "h": 20.5
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#7B1D26
secondary
#45AFA5
accent
#E5D543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1D26

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

Preview Lab → · Contrast checker → · Palette generator →

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