#7B2817#7B2817

#7B2817 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 33.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2817
RGBrgb(123, 40, 23)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 48%)
CMYKcmyk(0%, 67.5%, 81.3%, 51.8%)
CIE-LABlab(28.88, 35.14, 29.97)
CIE-LCHlch(28.88, 46.19, 40.46°)
OKLaboklab(40.03% 0.0994 0.0655)
OKLCHoklch(40.03% 0.119 33.4)
XYZxyz(9.0828, 5.7917, 1.4501)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2817 #176A7B
analogous
#7B1738 #7B2817 #7B5A17
triadic
#7B2817 #177B28 #28177B
tetradic
#7B2817 #387B17 #176A7B #5A177B
square
#7B2817 #387B17 #176A7B #5A177B
split-complementary
#7B2817 #177B5A #17387B
monochromatic
#1A0805 #47170D #7B2817 #AF3921 #D95033

Accessibility & contrast

On white

9.73
#7B2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2817
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2817#FFFFFF#000000##FFFFFF
##7B28171.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403814
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#881125
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2817;
/* rgb */ color: rgb(123, 40, 23);
/* oklch */ color: oklch(40.0% 0.119 33.4);
Tailwind
colors: {
  custom: {
    50: '#a86655',
    500: '#7b2817',
    950: '#000000',
  },
}
SCSS
$custom: #7b2817;
$custom-light: #a86655;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2817",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.11907,
    "h": 33.4
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7B2817
secondary
#3E9DB0
accent
#CEEB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2817

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

Preview Lab → · Contrast checker → · Palette generator →

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