#7B2C17#7B2C17

#7B2C17 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.115 H 35.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7B2C17
RGBrgb(123, 44, 23)
HSLhsl(13, 68%, 29%)
HSVhsv(13, 81%, 48%)
CMYKcmyk(0%, 64.2%, 81.3%, 51.8%)
CIE-LABlab(29.60, 33.22, 30.71)
CIE-LCHlch(29.60, 45.24, 42.75°)
OKLaboklab(40.57% 0.0935 0.0671)
OKLCHoklch(40.57% 0.115 35.7)
XYZxyz(9.2247, 6.0755, 1.4974)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C17 #17667B
analogous
#7B1734 #7B2C17 #7B5E17
triadic
#7B2C17 #177B2C #2C177B
tetradic
#7B2C17 #347B17 #17667B #5E177B
square
#7B2C17 #347B17 #17667B #5E177B
split-complementary
#7B2C17 #177B5E #17347B
monochromatic
#1A0905 #471A0D #7B2C17 #AF3E21 #D95633

Accessibility & contrast

On white

9.48
#7B2C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B2C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C17
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C17#FFFFFF#000000##FFFFFF
##7B2C171.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B14
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#881828
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2c17;
/* rgb */ color: rgb(123, 44, 23);
/* oklch */ color: oklch(40.6% 0.115 35.7);
Tailwind
colors: {
  custom: {
    50: '#a86955',
    500: '#7b2c17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c17;
$custom-light: #a86955;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c17",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 12.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.11506,
    "h": 35.7
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#7B2C17
secondary
#3E98B0
accent
#C7EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2C17

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

Preview Lab → · Contrast checker → · Palette generator →

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