#7B2818#7B2818

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

Color values

HEX#7B2818
RGBrgb(123, 40, 24)
HSLhsl(10, 67%, 29%)
HSVhsv(10, 80%, 48%)
CMYKcmyk(0%, 67.5%, 80.5%, 51.8%)
CIE-LABlab(28.89, 35.18, 29.41)
CIE-LCHlch(28.89, 45.86, 39.90°)
OKLaboklab(40.04% 0.0998 0.0646)
OKLCHoklch(40.04% 0.119 32.9)
XYZxyz(9.0930, 5.7958, 1.5039)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2818 #186B7B
analogous
#7B183A #7B2818 #7B5A18
triadic
#7B2818 #187B28 #28187B
tetradic
#7B2818 #3A7B18 #186B7B #5A187B
square
#7B2818 #3A7B18 #186B7B #5A187B
split-complementary
#7B2818 #187B5A #183A7B
monochromatic
#1A0805 #48170E #7B2818 #AE3922 #D85036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2818#FFFFFF#000000##FFFFFF
##7B28181.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)
#403916
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#881125
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2818;
/* rgb */ color: rgb(123, 40, 24);
/* oklch */ color: oklch(40.0% 0.119 32.9);
Tailwind
colors: {
  custom: {
    50: '#a86656',
    500: '#7b2818',
    950: '#000000',
  },
}
SCSS
$custom: #7b2818;
$custom-light: #a86656;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2818",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.697,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.11885,
    "h": 32.9
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#7B2818
secondary
#3F9DB0
accent
#CEEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2818

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

Preview Lab → · Contrast checker → · Palette generator →

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