#7B2417#7B2417

#7B2417 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.123 H 31.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7B2417
RGBrgb(123, 36, 23)
HSLhsl(8, 68%, 29%)
HSVhsv(8, 81%, 48%)
CMYKcmyk(0%, 70.7%, 81.3%, 51.8%)
CIE-LABlab(28.21, 36.95, 29.29)
CIE-LCHlch(28.21, 47.15, 38.40°)
OKLaboklab(39.52% 0.1051 0.064)
OKLCHoklch(39.52% 0.123 31.4)
XYZxyz(8.9549, 5.5359, 1.4075)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2417 #176E7B
analogous
#7B173C #7B2417 #7B5617
triadic
#7B2417 #177B24 #24177B
tetradic
#7B2417 #3C7B17 #176E7B #56177B
square
#7B2417 #3C7B17 #176E7B #56177B
split-complementary
#7B2417 #177B56 #173C7B
monochromatic
#1A0805 #47150D #7B2417 #AF3321 #D94933

Accessibility & contrast

On white

9.97
#7B2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2417
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2417#FFFFFF#000000##FFFFFF
##7B24171.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#880722
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2417;
/* rgb */ color: rgb(123, 36, 23);
/* oklch */ color: oklch(39.5% 0.123 31.4);
Tailwind
colors: {
  custom: {
    50: '#a96455',
    500: '#7b2417',
    950: '#000000',
  },
}
SCSS
$custom: #7b2417;
$custom-light: #a96455;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2417",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.12303,
    "h": 31.4
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#7B2417
secondary
#3EA1B0
accent
#D5EB3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2417

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

Preview Lab → · Contrast checker → · Palette generator →

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