#7B2A12#7B2A12

#7B2A12 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.118 H 36.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7B2A12
RGBrgb(123, 42, 18)
HSLhsl(14, 74%, 28%)
HSVhsv(14, 85%, 48%)
CMYKcmyk(0%, 65.9%, 85.4%, 51.8%)
CIE-LABlab(29.19, 34.01, 32.99)
CIE-LCHlch(29.19, 47.38, 44.13°)
OKLaboklab(40.25% 0.095 0.0704)
OKLCHoklch(40.25% 0.118 36.6)
XYZxyz(9.1065, 5.9119, 1.2337)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A12 #12637B
analogous
#7B122F #7B2A12 #7B5E12
triadic
#7B2A12 #127B2A #2A127B
tetradic
#7B2A12 #2F7B12 #12637B #5E127B
square
#7B2A12 #2F7B12 #12637B #5E127B
split-complementary
#7B2A12 #127B5E #122F7B
monochromatic
#1B0904 #46180A #7B2A12 #B03C1A #E05228

Accessibility & contrast

On white

9.62
#7B2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A12
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A12#FFFFFF#000000##FFFFFF
##7B2A121.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#554C0E
Tritanopia (blue-blind)
#881425
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2a12;
/* rgb */ color: rgb(123, 42, 18);
/* oklch */ color: oklch(40.2% 0.118 36.6);
Tailwind
colors: {
  custom: {
    50: '#a96752',
    500: '#7b2a12',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a12;
$custom-light: #a96752;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a12",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 13.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.11822,
    "h": 36.6
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7B2A12
secondary
#3895B1
accent
#C6F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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