#7B281C#7B281C

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

Color values

HEX#7B281C
RGBrgb(123, 40, 28)
HSLhsl(8, 63%, 30%)
HSVhsv(8, 77%, 48%)
CMYKcmyk(0%, 67.5%, 77.2%, 51.8%)
CIE-LABlab(28.94, 35.36, 27.11)
CIE-LCHlch(28.94, 44.55, 37.48°)
OKLaboklab(40.09% 0.1011 0.0607)
OKLCHoklch(40.09% 0.118 31)
XYZxyz(9.1378, 5.8137, 1.7394)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B281C #1C6F7B
analogous
#7B1C40 #7B281C #7B581C
triadic
#7B281C #1C7B28 #281C7B
tetradic
#7B281C #407B1C #1C6F7B #581C7B
square
#7B281C #407B1C #1C6F7B #581C7B
split-complementary
#7B281C #1C7B58 #1C407B
monochromatic
#190806 #491811 #7B281C #AD3827 #D3513E

Accessibility & contrast

On white

9.71
#7B281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B281C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B281C#FFFFFF#000000##FFFFFF
##7B281C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b281c;
/* rgb */ color: rgb(123, 40, 28);
/* oklch */ color: oklch(40.1% 0.118 31.0);
Tailwind
colors: {
  custom: {
    50: '#a86659',
    500: '#7b281c',
    950: '#000000',
  },
}
SCSS
$custom: #7b281c;
$custom-light: #a86659;
$custom-dark: #000000;
JSON
{
  "hex": "#7b281c",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 7.579,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.11797,
    "h": 31
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#7B281C
secondary
#44A1AF
accent
#D1E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B281C

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

Preview Lab → · Contrast checker → · Palette generator →

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