#7B231A#7B231A

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

Color values

HEX#7B231A
RGBrgb(123, 35, 26)
HSLhsl(6, 65%, 29%)
HSVhsv(6, 79%, 48%)
CMYKcmyk(0%, 71.5%, 78.9%, 51.8%)
CIE-LABlab(28.08, 37.51, 27.38)
CIE-LCHlch(28.08, 46.44, 36.13°)
OKLaboklab(39.44% 0.1074 0.0608)
OKLCHoklch(39.44% 0.123 29.5)
XYZxyz(8.9569, 5.4889, 1.5649)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B231A #1A727B
analogous
#7B1A42 #7B231A #7B541A
triadic
#7B231A #1A7B23 #231A7B
tetradic
#7B231A #427B1A #1A727B #541A7B
square
#7B231A #427B1A #1A727B #541A7B
split-complementary
#7B231A #1A7B54 #1A427B
monochromatic
#190705 #48150F #7B231A #AE3125 #D5483A

Accessibility & contrast

On white

10.01
#7B231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B231A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B231A#FFFFFF#000000##FFFFFF
##7B231A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3618
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#880522
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b231a;
/* rgb */ color: rgb(123, 35, 26);
/* oklch */ color: oklch(39.4% 0.123 29.5);
Tailwind
colors: {
  custom: {
    50: '#a86457',
    500: '#7b231a',
    950: '#000000',
  },
}
SCSS
$custom: #7b231a;
$custom-light: #a86457;
$custom-dark: #000000;
JSON
{
  "hex": "#7b231a",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 5.567,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.12345,
    "h": 29.5
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#7B231A
secondary
#42A5AF
accent
#D8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B231A

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

Preview Lab → · Contrast checker → · Palette generator →

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