#7C2E1F#7C2E1F

#7C2E1F is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.112 H 32.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7C2E1F
RGBrgb(124, 46, 31)
HSLhsl(10, 60%, 30%)
HSVhsv(10, 75%, 49%)
CMYKcmyk(0%, 62.9%, 75%, 51.4%)
CIE-LABlab(30.25, 32.98, 26.82)
CIE-LCHlch(30.25, 42.51, 39.12°)
OKLaboklab(41.13% 0.0943 0.0608)
OKLCHoklch(41.13% 0.112 32.8)
XYZxyz(9.5375, 6.3393, 2.0174)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E1F #1F6D7C
analogous
#7C1F3F #7C2E1F #7C5C1F
triadic
#7C2E1F #1F7C2E #2E1F7C
tetradic
#7C2E1F #3F7C1F #1F6D7C #5C1F7C
square
#7C2E1F #3F7C1F #1F6D7C #5C1F7C
split-complementary
#7C2E1F #1F7C5C #1F3F7C
monochromatic
#1A0A07 #4B1C13 #7C2E1F #AD402B #D05B45

Accessibility & contrast

On white

9.26
#7C2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C2E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E1F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E1F#FFFFFF#000000##FFFFFF
##7C2E1F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#891C2B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2e1f;
/* rgb */ color: rgb(124, 46, 31);
/* oklch */ color: oklch(41.1% 0.112 32.8);
Tailwind
colors: {
  custom: {
    50: '#a86a5b',
    500: '#7c2e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e1f;
$custom-light: #a86a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e1f",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 9.677,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.11214,
    "h": 32.8
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7C2E1F
secondary
#489FAF
accent
#CAE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7C2E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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