#7B231F#7B231F

#7B231F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.123 H 26.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7B231F
RGBrgb(123, 35, 31)
HSLhsl(3, 60%, 30%)
HSVhsv(3, 75%, 48%)
CMYKcmyk(0%, 71.5%, 74.8%, 51.8%)
CIE-LABlab(28.15, 37.75, 24.38)
CIE-LCHlch(28.15, 44.93, 32.86°)
OKLaboklab(39.51% 0.1093 0.0555)
OKLCHoklch(39.51% 0.123 26.9)
XYZxyz(9.0177, 5.5133, 1.8854)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B231F #1F777B
analogous
#7B1F49 #7B231F #7B511F
triadic
#7B231F #1F7B23 #231F7B
tetradic
#7B231F #497B1F #1F777B #511F7B
square
#7B231F #497B1F #1F777B #511F7B
split-complementary
#7B231F #1F7B51 #1F497B
monochromatic
#190706 #4A1513 #7B231F #AC312B #D04A44

Accessibility & contrast

On white

9.99
#7B231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B231F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B231F#FFFFFF#000000##FFFFFF
##7B231F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361E
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#880723
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b231f;
/* rgb */ color: rgb(123, 35, 31);
/* oklch */ color: oklch(39.5% 0.123 26.9);
Tailwind
colors: {
  custom: {
    50: '#a8645b',
    500: '#7b231f',
    950: '#000000',
  },
}
SCSS
$custom: #7b231f;
$custom-light: #a8645b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b231f",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 2.609,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.12257,
    "h": 26.9
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#7B231F
secondary
#48AAAE
accent
#DCE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B231F

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

Preview Lab → · Contrast checker → · Palette generator →

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