#7B281D#7B281D

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

Color values

HEX#7B281D
RGBrgb(123, 40, 29)
HSLhsl(7, 62%, 30%)
HSVhsv(7, 76%, 48%)
CMYKcmyk(0%, 67.5%, 76.4%, 51.8%)
CIE-LABlab(28.95, 35.40, 26.52)
CIE-LCHlch(28.95, 44.24, 36.83°)
OKLaboklab(40.1% 0.1015 0.0597)
OKLCHoklch(40.1% 0.118 30.5)
XYZxyz(9.1499, 5.8186, 1.8034)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B281D #1D707B
analogous
#7B1D41 #7B281D #7B571D
triadic
#7B281D #1D7B28 #281D7B
tetradic
#7B281D #417B1D #1D707B #571D7B
square
#7B281D #417B1D #1D707B #571D7B
split-complementary
#7B281D #1D7B57 #1D417B
monochromatic
#190806 #491811 #7B281D #AD3829 #D25140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B281D#FFFFFF#000000##FFFFFF
##7B281D1.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)
#3F391B
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#881226
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b281d;
/* rgb */ color: rgb(123, 40, 29);
/* oklch */ color: oklch(40.1% 0.118 30.5);
Tailwind
colors: {
  custom: {
    50: '#a86659',
    500: '#7b281d',
    950: '#000000',
  },
}
SCSS
$custom: #7b281d;
$custom-light: #a86659;
$custom-dark: #000000;
JSON
{
  "hex": "#7b281d",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 29
  },
  "hsl": {
    "h": 7.021,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.11776,
    "h": 30.5
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#7B281D
secondary
#45A2AF
accent
#D2E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B281D

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

Preview Lab → · Contrast checker → · Palette generator →

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