#7C262A#7C262A

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

Color values

HEX#7C262A
RGBrgb(124, 38, 42)
HSLhsl(357, 53%, 32%)
HSVhsv(357, 69%, 49%)
CMYKcmyk(0%, 69.4%, 66.1%, 51.4%)
CIE-LABlab(29.00, 37.44, 18.41)
CIE-LCHlch(29.00, 41.72, 26.19°)
OKLaboklab(40.24% 0.1106 0.044)
OKLCHoklch(40.24% 0.119 21.7)
XYZxyz(9.4242, 5.8398, 2.8210)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C262A #267C78
analogous
#7C2655 #7C262A #7C4D26
triadic
#7C262A #2A7C26 #262A7C
tetradic
#7C262A #557C26 #267C78 #4D267C
square
#7C262A #557C26 #267C78 #4D267C
split-complementary
#7C262A #267C4D #26557C
monochromatic
#1E090A #4D181A #7C262A #AB343A #CA5258

Accessibility & contrast

On white

9.69
#7C262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C262A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C262A#FFFFFF#000000##FFFFFF
##7C262A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#881128
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c262a;
/* rgb */ color: rgb(124, 38, 42);
/* oklch */ color: oklch(40.2% 0.119 21.7);
Tailwind
colors: {
  custom: {
    50: '#a86663',
    500: '#7c262a',
    950: '#000000',
  },
}
SCSS
$custom: #7c262a;
$custom-light: #a86663;
$custom-dark: #000000;
JSON
{
  "hex": "#7c262a",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 357.209,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.11902,
    "h": 21.7
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#7C262A
secondary
#50AEAA
accent
#DCD64B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C262A

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

Preview Lab → · Contrast checker → · Palette generator →

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