#7A242B#7A242B

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

Color values

HEX#7A242B
RGBrgb(122, 36, 43)
HSLhsl(355, 54%, 31%)
HSVhsv(355, 70%, 48%)
CMYKcmyk(0%, 70.5%, 64.8%, 52.2%)
CIE-LABlab(28.31, 37.68, 16.80)
CIE-LCHlch(28.31, 41.25, 24.03°)
OKLaboklab(39.66% 0.1118 0.0405)
OKLCHoklch(39.66% 0.119 19.9)
XYZxyz(9.0939, 5.5750, 2.8823)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A242B #247A73
analogous
#7A2456 #7A242B #7A4824
triadic
#7A242B #2B7A24 #242B7A
tetradic
#7A242B #567A24 #247A73 #48247A
square
#7A242B #567A24 #247A73 #48247A
split-complementary
#7A242B #247A48 #24567A
monochromatic
#1B080A #4B161A #7A242B #A9323C #CB4E58

Accessibility & contrast

On white

9.93
#7A242B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A242B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A242B#FFFFFF#000000##FFFFFF
##7A242B1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372B
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#860F27
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a242b;
/* rgb */ color: rgb(122, 36, 43);
/* oklch */ color: oklch(39.7% 0.119 19.9);
Tailwind
colors: {
  custom: {
    50: '#a66564',
    500: '#7a242b',
    950: '#000000',
  },
}
SCSS
$custom: #7a242b;
$custom-light: #a66564;
$custom-dark: #000000;
JSON
{
  "hex": "#7a242b",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 355.116,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.11894,
    "h": 19.9
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7A242B
secondary
#4DACA5
accent
#DED24A
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A242B

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

Preview Lab → · Contrast checker → · Palette generator →

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