#7B262A#7B262A

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

Color values

HEX#7B262A
RGBrgb(123, 38, 42)
HSLhsl(357, 53%, 32%)
HSVhsv(357, 69%, 48%)
CMYKcmyk(0%, 69.1%, 65.9%, 51.8%)
CIE-LABlab(28.81, 37.08, 18.13)
CIE-LCHlch(28.81, 41.27, 26.06°)
OKLaboklab(40.07% 0.1096 0.0434)
OKLCHoklch(40.07% 0.118 21.6)
XYZxyz(9.2803, 5.7656, 2.8142)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B262A #267B77
analogous
#7B2655 #7B262A #7B4D26
triadic
#7B262A #2A7B26 #262A7B
tetradic
#7B262A #557B26 #267B77 #4D267B
square
#7B262A #557B26 #267B77 #4D267B
split-complementary
#7B262A #267B4D #26557B
monochromatic
#1D090A #4C181A #7B262A #AA343A #CA5258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B262A#FFFFFF#000000##FFFFFF
##7B262A1.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)
#3C3829
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#871228
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b262a;
/* rgb */ color: rgb(123, 38, 42);
/* oklch */ color: oklch(40.1% 0.118 21.6);
Tailwind
colors: {
  custom: {
    50: '#a76663',
    500: '#7b262a',
    950: '#000000',
  },
}
SCSS
$custom: #7b262a;
$custom-light: #a76663;
$custom-dark: #000000;
JSON
{
  "hex": "#7b262a",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 357.176,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.11786,
    "h": 21.6
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#7B262A
secondary
#50ADA9
accent
#DCD54C
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B262A

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

Preview Lab → · Contrast checker → · Palette generator →

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