#7B2B18#7B2B18

#7B2B18 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.116 H 34.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7B2B18
RGBrgb(123, 43, 24)
HSLhsl(12, 67%, 29%)
HSVhsv(12, 80%, 48%)
CMYKcmyk(0%, 65%, 80.5%, 51.8%)
CIE-LABlab(29.43, 33.75, 29.97)
CIE-LCHlch(29.43, 45.13, 41.60°)
OKLaboklab(40.44% 0.0953 0.0658)
OKLCHoklch(40.44% 0.116 34.6)
XYZxyz(9.1981, 6.0060, 1.5389)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B18 #18687B
analogous
#7B1837 #7B2B18 #7B5D18
triadic
#7B2B18 #187B2B #2B187B
tetradic
#7B2B18 #377B18 #18687B #5D187B
square
#7B2B18 #377B18 #18687B #5D187B
split-complementary
#7B2B18 #187B5D #18377B
monochromatic
#1A0905 #48190E #7B2B18 #AE3D22 #D85536

Accessibility & contrast

On white

9.54
#7B2B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B18
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B18#FFFFFF#000000##FFFFFF
##7B2B181.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#881727
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2b18;
/* rgb */ color: rgb(123, 43, 24);
/* oklch */ color: oklch(40.4% 0.116 34.6);
Tailwind
colors: {
  custom: {
    50: '#a86856',
    500: '#7b2b18',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b18;
$custom-light: #a86856;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b18",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 11.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.11582,
    "h": 34.6
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#7B2B18
secondary
#3F9AB0
accent
#C9EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2B18

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

Preview Lab → · Contrast checker → · Palette generator →

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