#7B2A17#7B2A17

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

Color values

HEX#7B2A17
RGBrgb(123, 42, 23)
HSLhsl(11, 68%, 29%)
HSVhsv(11, 81%, 48%)
CMYKcmyk(0%, 65.9%, 81.3%, 51.8%)
CIE-LABlab(29.24, 34.19, 30.34)
CIE-LCHlch(29.24, 45.71, 41.58°)
OKLaboklab(40.29% 0.0965 0.0663)
OKLCHoklch(40.29% 0.117 34.5)
XYZxyz(9.1520, 5.9301, 1.4731)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A17 #17687B
analogous
#7B1736 #7B2A17 #7B5C17
triadic
#7B2A17 #177B2A #2A177B
tetradic
#7B2A17 #367B17 #17687B #5C177B
square
#7B2A17 #367B17 #17687B #5C177B
split-complementary
#7B2A17 #177B5C #17367B
monochromatic
#1A0905 #47180D #7B2A17 #AF3C21 #D95333

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2A17#FFFFFF#000000##FFFFFF
##7B2A171.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)
#554C14
Tritanopia (blue-blind)
#881526
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2a17;
/* rgb */ color: rgb(123, 42, 23);
/* oklch */ color: oklch(40.3% 0.117 34.5);
Tailwind
colors: {
  custom: {
    50: '#a86855',
    500: '#7b2a17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a17;
$custom-light: #a86855;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a17",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 11.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.11707,
    "h": 34.5
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#7B2A17
secondary
#3E9AB0
accent
#CAEB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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