#7B2F18#7B2F18

#7B2F18 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.112 H 37.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7B2F18
RGBrgb(123, 47, 24)
HSLhsl(14, 67%, 29%)
HSVhsv(14, 80%, 48%)
CMYKcmyk(0%, 61.8%, 80.5%, 51.8%)
CIE-LABlab(30.18, 31.75, 30.75)
CIE-LCHlch(30.18, 44.20, 44.08°)
OKLaboklab(41.02% 0.0891 0.0675)
OKLCHoklch(41.02% 0.112 37.1)
XYZxyz(9.3508, 6.3112, 1.5898)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F18 #18647B
analogous
#7B1833 #7B2F18 #7B6118
triadic
#7B2F18 #187B2F #2F187B
tetradic
#7B2F18 #337B18 #18647B #61187B
square
#7B2F18 #337B18 #18647B #61187B
split-complementary
#7B2F18 #187B61 #18337B
monochromatic
#1A0A05 #481B0E #7B2F18 #AE4322 #D85B36

Accessibility & contrast

On white

9.28
#7B2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B2F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F18
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F18#FFFFFF#000000##FFFFFF
##7B2F181.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D15
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#881D2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2f18;
/* rgb */ color: rgb(123, 47, 24);
/* oklch */ color: oklch(41.0% 0.112 37.1);
Tailwind
colors: {
  custom: {
    50: '#a86a56',
    500: '#7b2f18',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f18;
$custom-light: #a86a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f18",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 13.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.11181,
    "h": 37.1
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#7B2F18
secondary
#3F96B0
accent
#C2EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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