#7B402D#7B402D

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

Color values

HEX#7B402D
RGBrgb(123, 64, 45)
HSLhsl(15, 46%, 33%)
HSVhsv(15, 63%, 48%)
CMYKcmyk(0%, 48%, 63.4%, 51.8%)
CIE-LABlab(34.12, 23.68, 22.90)
CIE-LCHlch(34.12, 32.94, 44.05°)
OKLaboklab(44.1% 0.0684 0.0544)
OKLCHoklch(44.1% 0.087 38.5)
XYZxyz(10.4763, 8.0683, 3.4878)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B402D #2D687B
analogous
#7B2D41 #7B402D #7B672D
triadic
#7B402D #2D7B40 #402D7B
tetradic
#7B402D #417B2D #2D687B #672D7B
square
#7B402D #417B2D #2D687B #672D7B
split-complementary
#7B402D #2D7B67 #2D417B
monochromatic
#21110C #4E291D #7B402D #A8573D #C4775E

Accessibility & contrast

On white

8.04
#7B402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B402D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B402D#FFFFFF#000000##FFFFFF
##7B402D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#5E552C
Tritanopia (blue-blind)
#86353B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b402d;
/* rgb */ color: rgb(123, 64, 45);
/* oklch */ color: oklch(44.1% 0.087 38.5);
Tailwind
colors: {
  custom: {
    50: '#a57666',
    500: '#7b402d',
    950: '#000000',
  },
}
SCSS
$custom: #7b402d;
$custom-light: #a57666;
$custom-dark: #000000;
JSON
{
  "hex": "#7b402d",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 14.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.08739,
    "h": 38.5
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#7B402D
secondary
#5997AB
accent
#B6D652
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7B402D

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

Preview Lab → · Contrast checker → · Palette generator →

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