#7C262E#7C262E

#7C262E is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.119 H 19.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7C262E
RGBrgb(124, 38, 46)
HSLhsl(354, 53%, 32%)
HSVhsv(354, 69%, 49%)
CMYKcmyk(0%, 69.4%, 62.9%, 51.4%)
CIE-LABlab(29.08, 37.72, 15.90)
CIE-LCHlch(29.08, 40.93, 22.86°)
OKLaboklab(40.33% 0.1123 0.0386)
OKLCHoklch(40.33% 0.119 19)
XYZxyz(9.4994, 5.8699, 3.2170)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C262E #267C74
analogous
#7C2659 #7C262E #7C4926
triadic
#7C262E #2E7C26 #262E7C
tetradic
#7C262E #597C26 #267C74 #49267C
square
#7C262E #597C26 #267C74 #49267C
split-complementary
#7C262E #267C49 #26597C
monochromatic
#1E090B #4D181D #7C262E #AB343F #CA525D

Accessibility & contrast

On white

9.66
#7C262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C262E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C262E#FFFFFF#000000##FFFFFF
##7C262E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#881229
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c262e;
/* rgb */ color: rgb(124, 38, 46);
/* oklch */ color: oklch(40.3% 0.119 19.0);
Tailwind
colors: {
  custom: {
    50: '#a76666',
    500: '#7c262e',
    950: '#000000',
  },
}
SCSS
$custom: #7c262e;
$custom-light: #a76666;
$custom-dark: #000000;
JSON
{
  "hex": "#7c262e",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 354.419,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.11876,
    "h": 19
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#7C262E
secondary
#50AEA5
accent
#DCCF4B
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C262E

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

Preview Lab → · Contrast checker → · Palette generator →

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