#7B331C#7B331C

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

Color values

HEX#7B331C
RGBrgb(123, 51, 28)
HSLhsl(15, 63%, 30%)
HSVhsv(15, 77%, 48%)
CMYKcmyk(0%, 58.5%, 77.2%, 51.8%)
CIE-LABlab(31.03, 29.84, 29.38)
CIE-LCHlch(31.03, 41.88, 44.56°)
OKLaboklab(41.67% 0.084 0.0657)
OKLCHoklch(41.67% 0.107 38)
XYZxyz(9.5628, 6.6637, 1.8810)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B331C #1C647B
analogous
#7B1C35 #7B331C #7B631C
triadic
#7B331C #1C7B33 #331C7B
tetradic
#7B331C #357B1C #1C647B #631C7B
square
#7B331C #357B1C #1C647B #631C7B
split-complementary
#7B331C #1C7B63 #1C357B
monochromatic
#190A06 #491E11 #7B331C #AD4827 #D3623E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B331C#FFFFFF#000000##FFFFFF
##7B331C1.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)
#473F19
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#87232E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b331c;
/* rgb */ color: rgb(123, 51, 28);
/* oklch */ color: oklch(41.7% 0.107 38.0);
Tailwind
colors: {
  custom: {
    50: '#a76d59',
    500: '#7b331c',
    950: '#000000',
  },
}
SCSS
$custom: #7b331c;
$custom-light: #a76d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7b331c",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 14.526,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.10664,
    "h": 38
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#7B331C
secondary
#4495AF
accent
#BEE642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B331C

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

Preview Lab → · Contrast checker → · Palette generator →

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