#7C261B#7C261B

#7C261B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.0% C 0.121 H 30.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7C261B
RGBrgb(124, 38, 27)
HSLhsl(7, 64%, 30%)
HSVhsv(7, 78%, 49%)
CMYKcmyk(0%, 69.4%, 78.2%, 51.4%)
CIE-LABlab(28.78, 36.60, 27.59)
CIE-LCHlch(28.78, 45.83, 37.01°)
OKLaboklab(40% 0.1047 0.0614)
OKLCHoklch(40% 0.121 30.4)
XYZxyz(9.2041, 5.7518, 1.6623)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C261B #1B717C
analogous
#7C1B41 #7C261B #7C571B
triadic
#7C261B #1B7C26 #261B7C
tetradic
#7C261B #417C1B #1B717C #571B7C
square
#7C261B #417C1B #1B717C #571B7C
split-complementary
#7C261B #1B7C57 #1B417C
monochromatic
#190805 #4A1710 #7C261B #AE3526 #D54E3D

Accessibility & contrast

On white

9.77
#7C261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C261B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C261B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C261B#FFFFFF#000000##FFFFFF
##7C261B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3819
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#890D24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c261b;
/* rgb */ color: rgb(124, 38, 27);
/* oklch */ color: oklch(40.0% 0.121 30.4);
Tailwind
colors: {
  custom: {
    50: '#a96658',
    500: '#7c261b',
    950: '#000000',
  },
}
SCSS
$custom: #7c261b;
$custom-light: #a96658;
$custom-dark: #000000;
JSON
{
  "hex": "#7c261b",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 6.804,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40001,
    "c": 0.12138,
    "h": 30.4
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7C261B
secondary
#43A4B0
accent
#D4E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C261B

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

Preview Lab → · Contrast checker → · Palette generator →

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