#7B262B#7B262B

#7B262B is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.118 H 20.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7B262B
RGBrgb(123, 38, 43)
HSLhsl(356, 53%, 32%)
HSVhsv(356, 69%, 48%)
CMYKcmyk(0%, 69.1%, 65%, 51.8%)
CIE-LABlab(28.83, 37.15, 17.50)
CIE-LCHlch(28.83, 41.06, 25.23°)
OKLaboklab(40.09% 0.11 0.042)
OKLCHoklch(40.09% 0.118 20.9)
XYZxyz(9.2985, 5.7729, 2.9097)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B262B #267B76
analogous
#7B2656 #7B262B #7B4C26
triadic
#7B262B #2B7B26 #262B7B
tetradic
#7B262B #567B26 #267B76 #4C267B
square
#7B262B #567B26 #267B76 #4C267B
split-complementary
#7B262B #267B4C #26567B
monochromatic
#1D090A #4C181B #7B262B #AA343B #CA5259

Accessibility & contrast

On white

9.75
#7B262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B262B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B262B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B262B#FFFFFF#000000##FFFFFF
##7B262B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392B
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#871228
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b262b;
/* rgb */ color: rgb(123, 38, 43);
/* oklch */ color: oklch(40.1% 0.118 20.9);
Tailwind
colors: {
  custom: {
    50: '#a76664',
    500: '#7b262b',
    950: '#000000',
  },
}
SCSS
$custom: #7b262b;
$custom-light: #a76664;
$custom-dark: #000000;
JSON
{
  "hex": "#7b262b",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 356.471,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.11778,
    "h": 20.9
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7B262B
secondary
#50ADA8
accent
#DCD44C
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7B262B

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

Preview Lab → · Contrast checker → · Palette generator →

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