#7B331F#7B331F

#7B331F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.7% C 0.106 H 36.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7B331F
RGBrgb(123, 51, 31)
HSLhsl(13, 60%, 30%)
HSVhsv(13, 75%, 48%)
CMYKcmyk(0%, 58.5%, 74.8%, 51.8%)
CIE-LABlab(31.06, 29.99, 27.68)
CIE-LCHlch(31.06, 40.82, 42.71°)
OKLaboklab(41.71% 0.0851 0.0627)
OKLCHoklch(41.71% 0.106 36.4)
XYZxyz(9.6005, 6.6788, 2.0796)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B331F #1F677B
analogous
#7B1F39 #7B331F #7B611F
triadic
#7B331F #1F7B33 #331F7B
tetradic
#7B331F #397B1F #1F677B #611F7B
square
#7B331F #397B1F #1F677B #611F7B
split-complementary
#7B331F #1F7B61 #1F397B
monochromatic
#190A06 #4A1F13 #7B331F #AC472B #D06344

Accessibility & contrast

On white

8.99
#7B331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B331F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B331F#FFFFFF#000000##FFFFFF
##7B331F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#87242F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b331f;
/* rgb */ color: rgb(123, 51, 31);
/* oklch */ color: oklch(41.7% 0.106 36.4);
Tailwind
colors: {
  custom: {
    50: '#a76d5b',
    500: '#7b331f',
    950: '#000000',
  },
}
SCSS
$custom: #7b331f;
$custom-light: #a76d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b331f",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 13.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.10571,
    "h": 36.4
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#7B331F
secondary
#4898AE
accent
#C1E345
background
#FAF6F5
surface
#F5ECE9
border
#CFC7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7B331F

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

Preview Lab → · Contrast checker → · Palette generator →

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