#7A2B17#7A2B17

#7A2B17 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.115 H 35.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7A2B17
RGBrgb(122, 43, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 48%)
CMYKcmyk(0%, 64.8%, 81.1%, 52.2%)
CIE-LABlab(29.23, 33.32, 30.27)
CIE-LCHlch(29.23, 45.02, 42.26°)
OKLaboklab(40.26% 0.0939 0.0663)
OKLCHoklch(40.26% 0.115 35.2)
XYZxyz(9.0456, 5.9285, 1.4784)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B17 #17667A
analogous
#7A1734 #7A2B17 #7A5C17
triadic
#7A2B17 #177A2B #2B177A
tetradic
#7A2B17 #347A17 #17667A #5C177A
square
#7A2B17 #347A17 #17667A #5C177A
split-complementary
#7A2B17 #177A5C #17347A
monochromatic
#1A0905 #47190D #7A2B17 #AD3D21 #D95433

Accessibility & contrast

On white

9.61
#7A2B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A2B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B17
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B17#FFFFFF#000000##FFFFFF
##7A2B171.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#871727
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2b17;
/* rgb */ color: rgb(122, 43, 23);
/* oklch */ color: oklch(40.3% 0.115 35.2);
Tailwind
colors: {
  custom: {
    50: '#a76855',
    500: '#7a2b17',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b17;
$custom-light: #a76855;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b17",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 12.121,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.11491,
    "h": 35.2
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#7A2B17
secondary
#3E98AF
accent
#C8EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2B17

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

Preview Lab → · Contrast checker → · Palette generator →

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