#7B281E#7B281E

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

Color values

HEX#7B281E
RGBrgb(123, 40, 30)
HSLhsl(6, 61%, 30%)
HSVhsv(6, 76%, 48%)
CMYKcmyk(0%, 67.5%, 75.6%, 51.8%)
CIE-LABlab(28.96, 35.45, 25.93)
CIE-LCHlch(28.96, 43.92, 36.18°)
OKLaboklab(40.12% 0.1019 0.0586)
OKLCHoklch(40.12% 0.118 29.9)
XYZxyz(9.1625, 5.8236, 1.8696)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B281E #1E717B
analogous
#7B1E42 #7B281E #7B571E
triadic
#7B281E #1E7B28 #281E7B
tetradic
#7B281E #427B1E #1E717B #571E7B
square
#7B281E #427B1E #1E717B #571E7B
split-complementary
#7B281E #1E7B57 #1E427B
monochromatic
#190806 #4A1812 #7B281E #AC382A #D15242

Accessibility & contrast

On white

9.70
#7B281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B281E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B281E#FFFFFF#000000##FFFFFF
##7B281E1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b281e;
/* rgb */ color: rgb(123, 40, 30);
/* oklch */ color: oklch(40.1% 0.118 29.9);
Tailwind
colors: {
  custom: {
    50: '#a8675a',
    500: '#7b281e',
    950: '#000000',
  },
}
SCSS
$custom: #7b281e;
$custom-light: #a8675a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b281e",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 6.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.11754,
    "h": 29.9
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#7B281E
secondary
#46A3AE
accent
#D3E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B281E

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

Preview Lab → · Contrast checker → · Palette generator →

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