#7C262B#7C262B

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

Color values

HEX#7C262B
RGBrgb(124, 38, 43)
HSLhsl(357, 53%, 32%)
HSVhsv(357, 69%, 49%)
CMYKcmyk(0%, 69.4%, 65.3%, 51.4%)
CIE-LABlab(29.02, 37.51, 17.79)
CIE-LCHlch(29.02, 41.51, 25.37°)
OKLaboklab(40.26% 0.111 0.0427)
OKLCHoklch(40.26% 0.119 21)
XYZxyz(9.4423, 5.8470, 2.9164)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C262B #267C77
analogous
#7C2656 #7C262B #7C4C26
triadic
#7C262B #2B7C26 #262B7C
tetradic
#7C262B #567C26 #267C77 #4C267C
square
#7C262B #567C26 #267C77 #4C267C
split-complementary
#7C262B #267C4C #26567C
monochromatic
#1E090B #4D181B #7C262B #AB343B #CA5259

Accessibility & contrast

On white

9.68
#7C262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C262B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C262B#FFFFFF#000000##FFFFFF
##7C262B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392B
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#881129
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c262b;
/* rgb */ color: rgb(124, 38, 43);
/* oklch */ color: oklch(40.3% 0.119 21.0);
Tailwind
colors: {
  custom: {
    50: '#a86664',
    500: '#7c262b',
    950: '#000000',
  },
}
SCSS
$custom: #7c262b;
$custom-light: #a86664;
$custom-dark: #000000;
JSON
{
  "hex": "#7c262b",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 356.512,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.11894,
    "h": 21
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7C262B
secondary
#50AEA9
accent
#DCD44B
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C262B

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

Preview Lab → · Contrast checker → · Palette generator →

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