#7A2A17#7A2A17

#7A2A17 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.1% C 0.116 H 34.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7A2A17
RGBrgb(122, 42, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 48%)
CMYKcmyk(0%, 65.6%, 81.1%, 52.2%)
CIE-LABlab(29.05, 33.81, 30.08)
CIE-LCHlch(29.05, 45.25, 41.67°)
OKLaboklab(40.12% 0.0954 0.0659)
OKLCHoklch(40.12% 0.116 34.6)
XYZxyz(9.0096, 5.8567, 1.4665)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A17 #17677A
analogous
#7A1735 #7A2A17 #7A5B17
triadic
#7A2A17 #177A2A #2A177A
tetradic
#7A2A17 #357A17 #17677A #5B177A
square
#7A2A17 #357A17 #17677A #5B177A
split-complementary
#7A2A17 #177A5B #17357A
monochromatic
#1A0905 #47180D #7A2A17 #AD3C21 #D95333

Accessibility & contrast

On white

9.67
#7A2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A2A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A17
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A17#FFFFFF#000000##FFFFFF
##7A2A171.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#871526
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2a17;
/* rgb */ color: rgb(122, 42, 23);
/* oklch */ color: oklch(40.1% 0.116 34.6);
Tailwind
colors: {
  custom: {
    50: '#a76755',
    500: '#7a2a17',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a17;
$custom-light: #a76755;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a17",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 11.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.11591,
    "h": 34.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#7A2A17
secondary
#3E99AF
accent
#CAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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