#7B331D#7B331D

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

Color values

HEX#7B331D
RGBrgb(123, 51, 29)
HSLhsl(14, 62%, 30%)
HSVhsv(14, 76%, 48%)
CMYKcmyk(0%, 58.5%, 76.4%, 51.8%)
CIE-LABlab(31.04, 29.89, 28.82)
CIE-LCHlch(31.04, 41.52, 43.96°)
OKLaboklab(41.68% 0.0844 0.0647)
OKLCHoklch(41.68% 0.106 37.5)
XYZxyz(9.5749, 6.6686, 1.9451)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B331D #1D657B
analogous
#7B1D36 #7B331D #7B621D
triadic
#7B331D #1D7B33 #331D7B
tetradic
#7B331D #367B1D #1D657B #621D7B
square
#7B331D #367B1D #1D657B #621D7B
split-complementary
#7B331D #1D7B62 #1D367B
monochromatic
#190A06 #491E11 #7B331D #AD4829 #D26240

Accessibility & contrast

On white

9.00
#7B331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B331D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B331D#FFFFFF#000000##FFFFFF
##7B331D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1A
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#87232E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b331d;
/* rgb */ color: rgb(123, 51, 29);
/* oklch */ color: oklch(41.7% 0.106 37.5);
Tailwind
colors: {
  custom: {
    50: '#a76d5a',
    500: '#7b331d',
    950: '#000000',
  },
}
SCSS
$custom: #7b331d;
$custom-light: #a76d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b331d",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 14.043,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.10633,
    "h": 37.5
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#7B331D
secondary
#4596AF
accent
#BFE543
background
#FBF6F5
surface
#F5ECE9
border
#CFC7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7B331D

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

Preview Lab → · Contrast checker → · Palette generator →

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