#7B2E17#7B2E17

#7B2E17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.113 H 36.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7B2E17
RGBrgb(123, 46, 23)
HSLhsl(14, 68%, 29%)
HSVhsv(14, 81%, 48%)
CMYKcmyk(0%, 62.6%, 81.3%, 51.8%)
CIE-LABlab(29.98, 32.22, 31.09)
CIE-LCHlch(29.98, 44.77, 43.98°)
OKLaboklab(40.86% 0.0904 0.068)
OKLCHoklch(40.86% 0.113 36.9)
XYZxyz(9.3010, 6.2281, 1.5228)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E17 #17647B
analogous
#7B1732 #7B2E17 #7B6017
triadic
#7B2E17 #177B2E #2E177B
tetradic
#7B2E17 #327B17 #17647B #60177B
square
#7B2E17 #327B17 #17647B #60177B
split-complementary
#7B2E17 #177B60 #17327B
monochromatic
#1A0A05 #471B0D #7B2E17 #AF4121 #D95A33

Accessibility & contrast

On white

9.35
#7B2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E17
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E17#FFFFFF#000000##FFFFFF
##7B2E171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#881B29
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2e17;
/* rgb */ color: rgb(123, 46, 23);
/* oklch */ color: oklch(40.9% 0.113 36.9);
Tailwind
colors: {
  custom: {
    50: '#a86a56',
    500: '#7b2e17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e17;
$custom-light: #a86a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e17",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 13.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.11307,
    "h": 36.9
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#7B2E17
secondary
#3E96B0
accent
#C3EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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