#7A331F#7A331F

#7A331F is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.5% C 0.104 H 36.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7A331F
RGBrgb(122, 51, 31)
HSLhsl(13, 59%, 30%)
HSVhsv(13, 75%, 48%)
CMYKcmyk(0%, 58.2%, 74.6%, 52.2%)
CIE-LABlab(30.89, 29.58, 27.44)
CIE-LCHlch(30.89, 40.35, 42.85°)
OKLaboklab(41.54% 0.084 0.0622)
OKLCHoklch(41.54% 0.105 36.5)
XYZxyz(9.4581, 6.6054, 2.0730)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A331F #1F667A
analogous
#7A1F38 #7A331F #7A611F
triadic
#7A331F #1F7A33 #331F7A
tetradic
#7A331F #387A1F #1F667A #611F7A
square
#7A331F #387A1F #1F667A #611F7A
split-complementary
#7A331F #1F7A61 #1F387A
monochromatic
#180A06 #491F13 #7A331F #AB472B #CF6344

Accessibility & contrast

On white

9.05
#7A331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A331F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A331F#FFFFFF#000000##FFFFFF
##7A331F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a331f;
/* rgb */ color: rgb(122, 51, 31);
/* oklch */ color: oklch(41.5% 0.104 36.5);
Tailwind
colors: {
  custom: {
    50: '#a66d5b',
    500: '#7a331f',
    950: '#000000',
  },
}
SCSS
$custom: #7a331f;
$custom-light: #a66d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a331f",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 13.187,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.1045,
    "h": 36.5
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#7A331F
secondary
#4797AD
accent
#C0E345
background
#FAF6F5
surface
#F4ECE9
border
#CEC7C5
text
#100704
muted
#7F7A79

Preview Lab

Preview with #7A331F

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

Preview Lab → · Contrast checker → · Palette generator →

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