#7C242F#7C242F

#7C242F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.121 H 17.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7C242F
RGBrgb(124, 36, 47)
HSLhsl(353, 55%, 31%)
HSVhsv(353, 71%, 49%)
CMYKcmyk(0%, 71%, 62.1%, 51.4%)
CIE-LABlab(28.78, 38.67, 14.85)
CIE-LCHlch(28.78, 41.42, 21.00°)
OKLaboklab(40.11% 0.1155 0.0363)
OKLCHoklch(40.11% 0.121 17.4)
XYZxyz(9.4571, 5.7534, 3.3013)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C242F #247C71
analogous
#7C245B #7C242F #7C4524
triadic
#7C242F #2F7C24 #242F7C
tetradic
#7C242F #5B7C24 #247C71 #45247C
square
#7C242F #5B7C24 #247C71 #45247C
split-complementary
#7C242F #247C45 #245B7C
monochromatic
#1D080B #4D161D #7C242F #AB3241 #CC4F5E

Accessibility & contrast

On white

9.77
#7C242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C242F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C242F#FFFFFF#000000##FFFFFF
##7C242F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#514B2D
Tritanopia (blue-blind)
#880F29
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c242f;
/* rgb */ color: rgb(124, 36, 47);
/* oklch */ color: oklch(40.1% 0.121 17.4);
Tailwind
colors: {
  custom: {
    50: '#a86567',
    500: '#7c242f',
    950: '#000000',
  },
}
SCSS
$custom: #7c242f;
$custom-light: #a86567;
$custom-dark: #000000;
JSON
{
  "hex": "#7c242f",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 352.5,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.12107,
    "h": 17.4
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7C242F
secondary
#4DAEA2
accent
#DECC49
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C242F

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

Preview Lab → · Contrast checker → · Palette generator →

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