#7B2813#7B2813

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

Color values

HEX#7B2813
RGBrgb(123, 40, 19)
HSLhsl(12, 73%, 28%)
HSVhsv(12, 85%, 48%)
CMYKcmyk(0%, 67.5%, 84.6%, 51.8%)
CIE-LABlab(28.84, 35.00, 32.14)
CIE-LCHlch(28.84, 47.52, 42.57°)
OKLaboklab(39.99% 0.0982 0.0689)
OKLCHoklch(39.99% 0.12 35.1)
XYZxyz(9.0457, 5.7769, 1.2547)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2813 #13667B
analogous
#7B1332 #7B2813 #7B5C13
triadic
#7B2813 #137B28 #28137B
tetradic
#7B2813 #327B13 #13667B #5C137B
square
#7B2813 #327B13 #13667B #5C137B
split-complementary
#7B2813 #137B5C #13327B
monochromatic
#1B0904 #46170B #7B2813 #B0391B #DE4F2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2813#FFFFFF#000000##FFFFFF
##7B28131.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)
#403810
Deuteranopia (green-blind)
#544B0F
Tritanopia (blue-blind)
#881024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2813;
/* rgb */ color: rgb(123, 40, 19);
/* oklch */ color: oklch(40.0% 0.120 35.1);
Tailwind
colors: {
  custom: {
    50: '#a96652',
    500: '#7b2813',
    950: '#000000',
  },
}
SCSS
$custom: #7b2813;
$custom-light: #a96652;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2813",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 12.115,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.11994,
    "h": 35.1
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#7B2813
secondary
#3999B1
accent
#CBF038
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7B2813

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

Preview Lab → · Contrast checker → · Palette generator →

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