#7B2517#7B2517

#7B2517 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.6% C 0.122 H 31.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7B2517
RGBrgb(123, 37, 23)
HSLhsl(8, 68%, 29%)
HSVhsv(8, 81%, 48%)
CMYKcmyk(0%, 69.9%, 81.3%, 51.8%)
CIE-LABlab(28.37, 36.51, 29.45)
CIE-LCHlch(28.37, 46.91, 38.89°)
OKLaboklab(39.65% 0.1037 0.0644)
OKLCHoklch(39.65% 0.122 31.8)
XYZxyz(8.9856, 5.5973, 1.4177)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2517 #176D7B
analogous
#7B173B #7B2517 #7B5717
triadic
#7B2517 #177B25 #25177B
tetradic
#7B2517 #3B7B17 #176D7B #57177B
square
#7B2517 #3B7B17 #176D7B #57177B
split-complementary
#7B2517 #177B57 #173B7B
monochromatic
#1A0805 #47150D #7B2517 #AF3521 #D94B33

Accessibility & contrast

On white

9.91
#7B2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2517
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2517#FFFFFF#000000##FFFFFF
##7B25171.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#880A22
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2517;
/* rgb */ color: rgb(123, 37, 23);
/* oklch */ color: oklch(39.6% 0.122 31.8);
Tailwind
colors: {
  custom: {
    50: '#a96555',
    500: '#7b2517',
    950: '#000000',
  },
}
SCSS
$custom: #7b2517;
$custom-light: #a96555;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2517",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 8.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.12205,
    "h": 31.8
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#7B2517
secondary
#3EA0B0
accent
#D3EB3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2517

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

Preview Lab → · Contrast checker → · Palette generator →

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