#7B262C#7B262C

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

Color values

HEX#7B262C
RGBrgb(123, 38, 44)
HSLhsl(356, 53%, 32%)
HSVhsv(356, 69%, 48%)
CMYKcmyk(0%, 69.1%, 64.2%, 51.8%)
CIE-LABlab(28.85, 37.22, 16.87)
CIE-LCHlch(28.85, 40.86, 24.39°)
OKLaboklab(40.11% 0.1104 0.0407)
OKLCHoklch(40.11% 0.118 20.2)
XYZxyz(9.3170, 5.7803, 3.0075)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B262C #267B75
analogous
#7B2657 #7B262C #7B4B26
triadic
#7B262C #2C7B26 #262C7B
tetradic
#7B262C #577B26 #267B75 #4B267B
square
#7B262C #577B26 #267B75 #4B267B
split-complementary
#7B262C #267B4B #26577B
monochromatic
#1D090B #4C181B #7B262C #AA343D #CA525A

Accessibility & contrast

On white

9.74
#7B262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B262C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B262C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B262C#FFFFFF#000000##FFFFFF
##7B262C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392C
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#871229
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b262c;
/* rgb */ color: rgb(123, 38, 44);
/* oklch */ color: oklch(40.1% 0.118 20.2);
Tailwind
colors: {
  custom: {
    50: '#a76665',
    500: '#7b262c',
    950: '#000000',
  },
}
SCSS
$custom: #7b262c;
$custom-light: #a76665;
$custom-dark: #000000;
JSON
{
  "hex": "#7b262c",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 355.765,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.1177,
    "h": 20.2
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#7B262C
secondary
#50ADA7
accent
#DCD24C
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100605
muted
#7F7A7A

Preview Lab

Preview with #7B262C

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

Preview Lab → · Contrast checker → · Palette generator →

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