#7B402F#7B402F

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

Color values

HEX#7B402F
RGBrgb(123, 64, 47)
HSLhsl(13, 45%, 33%)
HSVhsv(13, 62%, 48%)
CMYKcmyk(0%, 48%, 61.8%, 51.8%)
CIE-LABlab(34.16, 23.84, 21.72)
CIE-LCHlch(34.16, 32.25, 42.35°)
OKLaboklab(44.14% 0.0692 0.052)
OKLCHoklch(44.14% 0.087 36.9)
XYZxyz(10.5157, 8.0841, 3.6954)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B402F #2F6A7B
analogous
#7B2F44 #7B402F #7B662F
triadic
#7B402F #2F7B40 #402F7B
tetradic
#7B402F #447B2F #2F6A7B #662F7B
square
#7B402F #447B2F #2F6A7B #662F7B
split-complementary
#7B402F #2F7B66 #2F447B
monochromatic
#22120D #4F291E #7B402F #A75740 #C37762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B402F#FFFFFF#000000##FFFFFF
##7B402F1.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)
#4F492D
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#86363C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b402f;
/* rgb */ color: rgb(123, 64, 47);
/* oklch */ color: oklch(44.1% 0.087 36.9);
Tailwind
colors: {
  custom: {
    50: '#a57668',
    500: '#7b402f',
    950: '#000000',
  },
}
SCSS
$custom: #7b402f;
$custom-light: #a57668;
$custom-dark: #000000;
JSON
{
  "hex": "#7b402f",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 13.421,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.08657,
    "h": 36.9
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#7B402F
secondary
#5C98AA
accent
#B8D453
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7B402F

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

Preview Lab → · Contrast checker → · Palette generator →

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