#7A242A#7A242A

#7A242A is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.119 H 20.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7A242A
RGBrgb(122, 36, 42)
HSLhsl(356, 54%, 31%)
HSVhsv(356, 70%, 48%)
CMYKcmyk(0%, 70.5%, 65.6%, 52.2%)
CIE-LABlab(28.29, 37.61, 17.43)
CIE-LCHlch(28.29, 41.45, 24.87°)
OKLaboklab(39.64% 0.1114 0.0418)
OKLCHoklch(39.64% 0.119 20.6)
XYZxyz(9.0757, 5.5678, 2.7868)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A242A #247A74
analogous
#7A2455 #7A242A #7A4924
triadic
#7A242A #2A7A24 #242A7A
tetradic
#7A242A #557A24 #247A74 #49247A
square
#7A242A #557A24 #247A74 #49247A
split-complementary
#7A242A #247A49 #24557A
monochromatic
#1B0809 #4B161A #7A242A #A9323A #CB4E56

Accessibility & contrast

On white

9.94
#7A242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A242A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A242A#FFFFFF#000000##FFFFFF
##7A242A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#514928
Tritanopia (blue-blind)
#860E27
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a242a;
/* rgb */ color: rgb(122, 36, 42);
/* oklch */ color: oklch(39.6% 0.119 20.6);
Tailwind
colors: {
  custom: {
    50: '#a66563',
    500: '#7a242a',
    950: '#000000',
  },
}
SCSS
$custom: #7a242a;
$custom-light: #a66563;
$custom-dark: #000000;
JSON
{
  "hex": "#7a242a",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 355.814,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.119,
    "h": 20.6
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#7A242A
secondary
#4DACA6
accent
#DED34A
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A242A

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

Preview Lab → · Contrast checker → · Palette generator →

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