#7C261F#7C261F

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

Color values

HEX#7C261F
RGBrgb(124, 38, 31)
HSLhsl(5, 60%, 30%)
HSVhsv(5, 75%, 49%)
CMYKcmyk(0%, 69.4%, 75%, 51.4%)
CIE-LABlab(28.83, 36.79, 25.21)
CIE-LCHlch(28.83, 44.60, 34.42°)
OKLaboklab(40.06% 0.1062 0.0573)
OKLCHoklch(40.06% 0.121 28.3)
XYZxyz(9.2536, 5.7716, 1.9228)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C261F #1F757C
analogous
#7C1F46 #7C261F #7C541F
triadic
#7C261F #1F7C26 #261F7C
tetradic
#7C261F #467C1F #1F757C #541F7C
square
#7C261F #467C1F #1F757C #541F7C
split-complementary
#7C261F #1F7C54 #1F467C
monochromatic
#1A0807 #4B1713 #7C261F #AD352B #D04F45

Accessibility & contrast

On white

9.75
#7C261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C261F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C261F#FFFFFF#000000##FFFFFF
##7C261F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#890E25
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c261f;
/* rgb */ color: rgb(124, 38, 31);
/* oklch */ color: oklch(40.1% 0.121 28.3);
Tailwind
colors: {
  custom: {
    50: '#a9665b',
    500: '#7c261f',
    950: '#000000',
  },
}
SCSS
$custom: #7c261f;
$custom-light: #a9665b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c261f",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.516,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.12061,
    "h": 28.3
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C261F

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

Preview Lab → · Contrast checker → · Palette generator →

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