#7C262C#7C262C

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

Color values

HEX#7C262C
RGBrgb(124, 38, 44)
HSLhsl(356, 53%, 32%)
HSVhsv(356, 69%, 49%)
CMYKcmyk(0%, 69.4%, 64.5%, 51.4%)
CIE-LABlab(29.04, 37.57, 17.16)
CIE-LCHlch(29.04, 41.31, 24.54°)
OKLaboklab(40.28% 0.1115 0.0413)
OKLCHoklch(40.28% 0.119 20.4)
XYZxyz(9.4608, 5.8545, 3.0142)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C262C #267C76
analogous
#7C2657 #7C262C #7C4B26
triadic
#7C262C #2C7C26 #262C7C
tetradic
#7C262C #577C26 #267C76 #4B267C
square
#7C262C #577C26 #267C76 #4B267C
split-complementary
#7C262C #267C4B #26577C
monochromatic
#1E090B #4D181B #7C262C #AB343D #CA525B

Accessibility & contrast

On white

9.67
#7C262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C262C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C262C#FFFFFF#000000##FFFFFF
##7C262C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#881229
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c262c;
/* rgb */ color: rgb(124, 38, 44);
/* oklch */ color: oklch(40.3% 0.119 20.4);
Tailwind
colors: {
  custom: {
    50: '#a86665',
    500: '#7c262c',
    950: '#000000',
  },
}
SCSS
$custom: #7c262c;
$custom-light: #a86665;
$custom-dark: #000000;
JSON
{
  "hex": "#7c262c",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 355.814,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.11887,
    "h": 20.4
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7C262C
secondary
#50AEA7
accent
#DCD24B
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7C262C

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

Preview Lab → · Contrast checker → · Palette generator →

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