#7B2712#7B2712

#7B2712 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.8% C 0.121 H 34.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7B2712
RGBrgb(123, 39, 18)
HSLhsl(12, 74%, 28%)
HSVhsv(12, 85%, 48%)
CMYKcmyk(0%, 68.3%, 85.4%, 51.8%)
CIE-LABlab(28.66, 35.43, 32.50)
CIE-LCHlch(28.66, 48.08, 42.53°)
OKLaboklab(39.85% 0.0993 0.0693)
OKLCHoklch(39.85% 0.121 34.9)
XYZxyz(9.0041, 5.7070, 1.1996)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2712 #12667B
analogous
#7B1231 #7B2712 #7B5B12
triadic
#7B2712 #127B27 #27127B
tetradic
#7B2712 #317B12 #12667B #5B127B
square
#7B2712 #317B12 #12667B #5B127B
split-complementary
#7B2712 #127B5B #12317B
monochromatic
#1B0804 #46160A #7B2712 #B0381A #E04D28

Accessibility & contrast

On white

9.81
#7B2712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B2712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2712
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2712#FFFFFF#000000##FFFFFF
##7B27121.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380F
Deuteranopia (green-blind)
#544A0E
Tritanopia (blue-blind)
#880E23
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2712;
/* rgb */ color: rgb(123, 39, 18);
/* oklch */ color: oklch(39.8% 0.121 34.9);
Tailwind
colors: {
  custom: {
    50: '#a96652',
    500: '#7b2712',
    950: '#000000',
  },
}
SCSS
$custom: #7b2712;
$custom-light: #a96652;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2712",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 18
  },
  "hsl": {
    "h": 12,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39848,
    "c": 0.12113,
    "h": 34.9
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7B2712
secondary
#3899B1
accent
#CCF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2712

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

Preview Lab → · Contrast checker → · Palette generator →

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