#7B2A1A#7B2A1A

#7B2A1A is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.116 H 33.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7B2A1A
RGBrgb(123, 42, 26)
HSLhsl(10, 65%, 29%)
HSVhsv(10, 79%, 48%)
CMYKcmyk(0%, 65.9%, 78.9%, 51.8%)
CIE-LABlab(29.27, 34.32, 28.65)
CIE-LCHlch(29.27, 44.71, 39.86°)
OKLaboklab(40.33% 0.0975 0.0635)
OKLCHoklch(40.33% 0.116 33.1)
XYZxyz(9.1838, 5.9428, 1.6406)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A1A #1A6B7B
analogous
#7B1A3B #7B2A1A #7B5B1A
triadic
#7B2A1A #1A7B2A #2A1A7B
tetradic
#7B2A1A #3B7B1A #1A6B7B #5B1A7B
square
#7B2A1A #3B7B1A #1A6B7B #5B1A7B
split-complementary
#7B2A1A #1A7B5B #1A3B7B
monochromatic
#190905 #48190F #7B2A1A #AE3B25 #D5543A

Accessibility & contrast

On white

9.60
#7B2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B2A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A1A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A1A#FFFFFF#000000##FFFFFF
##7B2A1A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#881527
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2a1a;
/* rgb */ color: rgb(123, 42, 26);
/* oklch */ color: oklch(40.3% 0.116 33.1);
Tailwind
colors: {
  custom: {
    50: '#a86857',
    500: '#7b2a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a1a;
$custom-light: #a86857;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a1a",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 9.897,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.11636,
    "h": 33.1
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7B2A1A
secondary
#429DAF
accent
#CCE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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