#7B402E#7B402E

#7B402E is a dark, moderate red. Relative luminance 0.081; OKLCH L 44.1% C 0.087 H 37.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7B402E
RGBrgb(123, 64, 46)
HSLhsl(14, 46%, 33%)
HSVhsv(14, 63%, 48%)
CMYKcmyk(0%, 48%, 62.6%, 51.8%)
CIE-LABlab(34.14, 23.76, 22.32)
CIE-LCHlch(34.14, 32.59, 43.21°)
OKLaboklab(44.12% 0.0688 0.0532)
OKLCHoklch(44.12% 0.087 37.7)
XYZxyz(10.4957, 8.0761, 3.5904)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B402E #2E697B
analogous
#7B2E42 #7B402E #7B662E
triadic
#7B402E #2E7B40 #402E7B
tetradic
#7B402E #427B2E #2E697B #662E7B
square
#7B402E #427B2E #2E697B #662E7B
split-complementary
#7B402E #2E7B66 #2E427B
monochromatic
#22120D #4E291D #7B402E #A8573F #C37760

Accessibility & contrast

On white

8.03
#7B402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B402E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B402E#FFFFFF#000000##FFFFFF
##7B402E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#5D552D
Tritanopia (blue-blind)
#86353C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b402e;
/* rgb */ color: rgb(123, 64, 46);
/* oklch */ color: oklch(44.1% 0.087 37.7);
Tailwind
colors: {
  custom: {
    50: '#a57667',
    500: '#7b402e',
    950: '#000000',
  },
}
SCSS
$custom: #7b402e;
$custom-light: #a57667;
$custom-dark: #000000;
JSON
{
  "hex": "#7b402e",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 14.026,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.08696,
    "h": 37.7
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#7B402E
secondary
#5B98AA
accent
#B7D553
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7B402E

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

Preview Lab → · Contrast checker → · Palette generator →

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