#7B2814#7B2814

#7B2814 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.120 H 34.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B2814
RGBrgb(123, 40, 20)
HSLhsl(12, 72%, 28%)
HSVhsv(12, 84%, 48%)
CMYKcmyk(0%, 67.5%, 83.7%, 51.8%)
CIE-LABlab(28.85, 35.03, 31.61)
CIE-LCHlch(28.85, 47.19, 42.06°)
OKLaboklab(40% 0.0985 0.0681)
OKLCHoklch(40% 0.12 34.7)
XYZxyz(9.0545, 5.7804, 1.3006)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2814 #14677B
analogous
#7B1434 #7B2814 #7B5B14
triadic
#7B2814 #147B28 #28147B
tetradic
#7B2814 #347B14 #14677B #5B147B
square
#7B2814 #347B14 #14677B #5B147B
split-complementary
#7B2814 #147B5B #14347B
monochromatic
#1A0904 #46170B #7B2814 #B0391D #DD4F2D

Accessibility & contrast

On white

9.74
#7B2814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B2814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2814
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2814#FFFFFF#000000##FFFFFF
##7B28141.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403811
Deuteranopia (green-blind)
#544B10
Tritanopia (blue-blind)
#881024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2814;
/* rgb */ color: rgb(123, 40, 20);
/* oklch */ color: oklch(40.0% 0.120 34.7);
Tailwind
colors: {
  custom: {
    50: '#a96653',
    500: '#7b2814',
    950: '#000000',
  },
}
SCSS
$custom: #7b2814;
$custom-light: #a96653;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2814",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 20
  },
  "hsl": {
    "h": 11.65,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.11973,
    "h": 34.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#7B2814
secondary
#3A9AB1
accent
#CBEF39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2814

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

Preview Lab → · Contrast checker → · Palette generator →

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