#7C261C#7C261C

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

Color values

HEX#7C261C
RGBrgb(124, 38, 28)
HSLhsl(6, 63%, 30%)
HSVhsv(6, 77%, 49%)
CMYKcmyk(0%, 69.4%, 77.4%, 51.4%)
CIE-LABlab(28.79, 36.65, 27.00)
CIE-LCHlch(28.79, 45.52, 36.38°)
OKLaboklab(40.01% 0.105 0.0604)
OKLCHoklch(40.01% 0.121 29.9)
XYZxyz(9.2159, 5.7565, 1.7242)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C261C #1C727C
analogous
#7C1C42 #7C261C #7C561C
triadic
#7C261C #1C7C26 #261C7C
tetradic
#7C261C #427C1C #1C727C #561C7C
square
#7C261C #427C1C #1C727C #561C7C
split-complementary
#7C261C #1C7C56 #1C427C
monochromatic
#190806 #4A1711 #7C261C #AE3527 #D44E3F

Accessibility & contrast

On white

9.76
#7C261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C261C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C261C#FFFFFF#000000##FFFFFF
##7C261C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c261c;
/* rgb */ color: rgb(124, 38, 28);
/* oklch */ color: oklch(40.0% 0.121 29.9);
Tailwind
colors: {
  custom: {
    50: '#a96659',
    500: '#7c261c',
    950: '#000000',
  },
}
SCSS
$custom: #7c261c;
$custom-light: #a96659;
$custom-dark: #000000;
JSON
{
  "hex": "#7c261c",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 6.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.12118,
    "h": 29.9
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#7C261C
secondary
#44A5B0
accent
#D5E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C261C

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

Preview Lab → · Contrast checker → · Palette generator →

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