#7B2F22#7B2F22

#7B2F22 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.1% C 0.109 H 31.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7B2F22
RGBrgb(123, 47, 34)
HSLhsl(9, 57%, 31%)
HSVhsv(9, 72%, 48%)
CMYKcmyk(0%, 61.8%, 72.4%, 51.8%)
CIE-LABlab(30.30, 32.24, 25.02)
CIE-LCHlch(30.30, 40.81, 37.81°)
OKLaboklab(41.15% 0.0927 0.0575)
OKLCHoklch(41.15% 0.109 31.8)
XYZxyz(9.4746, 6.3607, 2.2419)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F22 #226E7B
analogous
#7B2241 #7B2F22 #7B5B22
triadic
#7B2F22 #227B2F #2F227B
tetradic
#7B2F22 #417B22 #226E7B #5B227B
square
#7B2F22 #417B22 #226E7B #5B227B
split-complementary
#7B2F22 #227B5B #22417B
monochromatic
#1B0A07 #4B1D15 #7B2F22 #AB412F #CD5D4A

Accessibility & contrast

On white

9.24
#7B2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F22
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F22#FFFFFF#000000##FFFFFF
##7B2F221.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D20
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#871E2C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2f22;
/* rgb */ color: rgb(123, 47, 34);
/* oklch */ color: oklch(41.1% 0.109 31.8);
Tailwind
colors: {
  custom: {
    50: '#a76b5d',
    500: '#7b2f22',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f22;
$custom-light: #a76b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f22",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 8.764,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.10909,
    "h": 31.8
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#7B2F22
secondary
#4B9FAE
accent
#CAE048
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7B2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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