#7C262F#7C262F

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

Color values

HEX#7C262F
RGBrgb(124, 38, 47)
HSLhsl(354, 53%, 32%)
HSVhsv(354, 69%, 49%)
CMYKcmyk(0%, 69.4%, 62.1%, 51.4%)
CIE-LABlab(29.10, 37.79, 15.27)
CIE-LCHlch(29.10, 40.76, 22.00°)
OKLaboklab(40.35% 0.1127 0.0373)
OKLCHoklch(40.35% 0.119 18.3)
XYZxyz(9.5193, 5.8779, 3.3220)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C262F #267C73
analogous
#7C265A #7C262F #7C4826
triadic
#7C262F #2F7C26 #262F7C
tetradic
#7C262F #5A7C26 #267C73 #48267C
square
#7C262F #5A7C26 #267C73 #48267C
split-complementary
#7C262F #267C48 #265A7C
monochromatic
#1E090B #4D181D #7C262F #AB3441 #CA525F

Accessibility & contrast

On white

9.65
#7C262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C262F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C262F#FFFFFF#000000##FFFFFF
##7C262F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#88132A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c262f;
/* rgb */ color: rgb(124, 38, 47);
/* oklch */ color: oklch(40.3% 0.119 18.3);
Tailwind
colors: {
  custom: {
    50: '#a76667',
    500: '#7c262f',
    950: '#000000',
  },
}
SCSS
$custom: #7c262f;
$custom-light: #a76667;
$custom-dark: #000000;
JSON
{
  "hex": "#7c262f",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 353.721,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.11872,
    "h": 18.3
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#7C262F
secondary
#50AEA4
accent
#DCCD4B
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C262F

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

Preview Lab → · Contrast checker → · Palette generator →

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