#7B2912#7B2912

#7B2912 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.119 H 36.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7B2912
RGBrgb(123, 41, 18)
HSLhsl(13, 74%, 28%)
HSVhsv(13, 85%, 48%)
CMYKcmyk(0%, 66.7%, 85.4%, 51.8%)
CIE-LABlab(29.01, 34.49, 32.82)
CIE-LCHlch(29.01, 47.61, 43.58°)
OKLaboklab(40.11% 0.0964 0.07)
OKLCHoklch(40.11% 0.119 36)
XYZxyz(9.0715, 5.8418, 1.2221)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2912 #12647B
analogous
#7B122F #7B2912 #7B5E12
triadic
#7B2912 #127B29 #29127B
tetradic
#7B2912 #2F7B12 #12647B #5E127B
square
#7B2912 #2F7B12 #12647B #5E127B
split-complementary
#7B2912 #127B5E #122F7B
monochromatic
#1B0904 #46170A #7B2912 #B03B1A #E05028

Accessibility & contrast

On white

9.69
#7B2912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B2912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2912
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2912#FFFFFF#000000##FFFFFF
##7B29121.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#881225
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2912;
/* rgb */ color: rgb(123, 41, 18);
/* oklch */ color: oklch(40.1% 0.119 36.0);
Tailwind
colors: {
  custom: {
    50: '#a96752',
    500: '#7b2912',
    950: '#000000',
  },
}
SCSS
$custom: #7b2912;
$custom-light: #a96752;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2912",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 13.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.11919,
    "h": 36
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#7B2912
secondary
#3896B1
accent
#C8F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2912

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

Preview Lab → · Contrast checker → · Palette generator →

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