#7B2815#7B2815

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

Color values

HEX#7B2815
RGBrgb(123, 40, 21)
HSLhsl(11, 71%, 28%)
HSVhsv(11, 83%, 48%)
CMYKcmyk(0%, 67.5%, 82.9%, 51.8%)
CIE-LABlab(28.86, 35.07, 31.07)
CIE-LCHlch(28.86, 46.85, 41.55°)
OKLaboklab(40.01% 0.0988 0.0673)
OKLCHoklch(40.01% 0.12 34.3)
XYZxyz(9.0635, 5.7840, 1.3485)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2815 #15687B
analogous
#7B1535 #7B2815 #7B5B15
triadic
#7B2815 #157B28 #28157B
tetradic
#7B2815 #357B15 #15687B #5B157B
square
#7B2815 #357B15 #15687B #5B157B
split-complementary
#7B2815 #157B5B #15357B
monochromatic
#1A0804 #47170C #7B2815 #AF391E #DB4F2F

Accessibility & contrast

On white

9.74
#7B2815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2815
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2815#FFFFFF#000000##FFFFFF
##7B28151.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403812
Deuteranopia (green-blind)
#544B12
Tritanopia (blue-blind)
#881024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2815;
/* rgb */ color: rgb(123, 40, 21);
/* oklch */ color: oklch(40.0% 0.120 34.3);
Tailwind
colors: {
  custom: {
    50: '#a86654',
    500: '#7b2815',
    950: '#000000',
  },
}
SCSS
$custom: #7b2815;
$custom-light: #a86654;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2815",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 21
  },
  "hsl": {
    "h": 11.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.11951,
    "h": 34.3
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#7B2815
secondary
#3B9BB0
accent
#CCEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2815

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

Preview Lab → · Contrast checker → · Palette generator →

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