#7B2717#7B2717

#7B2717 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.120 H 32.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7B2717
RGBrgb(123, 39, 23)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 48%)
CMYKcmyk(0%, 68.3%, 81.3%, 51.8%)
CIE-LABlab(28.71, 35.61, 29.80)
CIE-LCHlch(28.71, 46.43, 39.92°)
OKLaboklab(39.9% 0.1009 0.0652)
OKLCHoklch(39.9% 0.12 32.9)
XYZxyz(9.0496, 5.7252, 1.4390)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2717 #176B7B
analogous
#7B1739 #7B2717 #7B5917
triadic
#7B2717 #177B27 #27177B
tetradic
#7B2717 #397B17 #176B7B #59177B
square
#7B2717 #397B17 #176B7B #59177B
split-complementary
#7B2717 #177B59 #17397B
monochromatic
#1A0805 #47170D #7B2717 #AF3721 #D94E33

Accessibility & contrast

On white

9.79
#7B2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2717
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2717#FFFFFF#000000##FFFFFF
##7B27171.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#880F24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2717;
/* rgb */ color: rgb(123, 39, 23);
/* oklch */ color: oklch(39.9% 0.120 32.9);
Tailwind
colors: {
  custom: {
    50: '#a86655',
    500: '#7b2717',
    950: '#000000',
  },
}
SCSS
$custom: #7b2717;
$custom-light: #a86655;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2717",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 9.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.12007,
    "h": 32.9
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#7B2717
secondary
#3E9EB0
accent
#CFEB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2717

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

Preview Lab → · Contrast checker → · Palette generator →

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