#7B261F#7B261F

#7B261F is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.119 H 28.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7B261F
RGBrgb(123, 38, 31)
HSLhsl(5, 60%, 30%)
HSVhsv(5, 75%, 48%)
CMYKcmyk(0%, 69.1%, 74.8%, 51.8%)
CIE-LABlab(28.64, 36.42, 24.94)
CIE-LCHlch(28.64, 44.14, 34.40°)
OKLaboklab(39.88% 0.1051 0.0567)
OKLCHoklch(39.88% 0.119 28.3)
XYZxyz(9.1098, 5.6974, 1.9161)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B261F #1F747B
analogous
#7B1F46 #7B261F #7B541F
triadic
#7B261F #1F7B26 #261F7B
tetradic
#7B261F #467B1F #1F747B #541F7B
square
#7B261F #467B1F #1F747B #541F7B
split-complementary
#7B261F #1F7B54 #1F467B
monochromatic
#190806 #4A1713 #7B261F #AC352B #D04F44

Accessibility & contrast

On white

9.82
#7B261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B261F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B261F#FFFFFF#000000##FFFFFF
##7B261F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#880E25
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b261f;
/* rgb */ color: rgb(123, 38, 31);
/* oklch */ color: oklch(39.9% 0.119 28.3);
Tailwind
colors: {
  custom: {
    50: '#a8655b',
    500: '#7b261f',
    950: '#000000',
  },
}
SCSS
$custom: #7b261f;
$custom-light: #a8655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b261f",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.565,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.11945,
    "h": 28.3
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#7B261F
secondary
#48A6AE
accent
#D7E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B261F

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

Preview Lab → · Contrast checker → · Palette generator →

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