#7B281B#7B281B

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

Color values

HEX#7B281B
RGBrgb(123, 40, 27)
HSLhsl(8, 64%, 29%)
HSVhsv(8, 78%, 48%)
CMYKcmyk(0%, 67.5%, 78%, 51.8%)
CIE-LABlab(28.93, 35.31, 27.69)
CIE-LCHlch(28.93, 44.88, 38.11°)
OKLaboklab(40.08% 0.1008 0.0617)
OKLCHoklch(40.08% 0.118 31.5)
XYZxyz(9.1260, 5.8090, 1.6774)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B281B #1B6E7B
analogous
#7B1B3E #7B281B #7B581B
triadic
#7B281B #1B7B28 #281B7B
tetradic
#7B281B #3E7B1B #1B6E7B #581B7B
square
#7B281B #3E7B1B #1B6E7B #581B7B
split-complementary
#7B281B #1B7B58 #1B3E7B
monochromatic
#190806 #491810 #7B281B #AD3826 #D4513C

Accessibility & contrast

On white

9.72
#7B281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B281B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B281B#FFFFFF#000000##FFFFFF
##7B281B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3919
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#881226
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b281b;
/* rgb */ color: rgb(123, 40, 27);
/* oklch */ color: oklch(40.1% 0.118 31.5);
Tailwind
colors: {
  custom: {
    50: '#a86658',
    500: '#7b281b',
    950: '#000000',
  },
}
SCSS
$custom: #7b281b;
$custom-light: #a86658;
$custom-dark: #000000;
JSON
{
  "hex": "#7b281b",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 8.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.11819,
    "h": 31.5
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7B281B
secondary
#43A0AF
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B281B

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

Preview Lab → · Contrast checker → · Palette generator →

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