#7C2E2E#7C2E2E

#7C2E2E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.109 H 23.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7C2E2E
RGBrgb(124, 46, 46)
HSLhsl(0, 46%, 33%)
HSVhsv(0, 63%, 49%)
CMYKcmyk(0%, 62.9%, 62.9%, 51.4%)
CIE-LABlab(30.49, 33.93, 17.73)
CIE-LCHlch(30.49, 38.28, 27.58°)
OKLaboklab(41.38% 0.1003 0.0428)
OKLCHoklch(41.38% 0.109 23.1)
XYZxyz(9.7832, 6.4376, 3.3116)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E2E #2E7C7C
analogous
#7C2E55 #7C2E2E #7C552E
triadic
#7C2E2E #2E7C2E #2E2E7C
tetradic
#7C2E2E #557C2E #2E7C7C #552E7C
square
#7C2E2E #557C2E #2E7C7C #552E7C
split-complementary
#7C2E2E #2E7C55 #2E557C
monochromatic
#230D0D #4F1D1D #7C2E2E #A93F3F #C46060

Accessibility & contrast

On white

9.18
#7C2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C2E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E2E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E2E#FFFFFF#000000##FFFFFF
##7C2E2E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2D
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#881F2F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2e2e;
/* rgb */ color: rgb(124, 46, 46);
/* oklch */ color: oklch(41.4% 0.109 23.1);
Tailwind
colors: {
  custom: {
    50: '#a76a66',
    500: '#7c2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e2e;
$custom-light: #a76a66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e2e",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.10908,
    "h": 23.1
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#7C2E2E
secondary
#5BABAB
accent
#D6D652
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7C2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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