#7B231B#7B231B

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

Color values

HEX#7B231B
RGBrgb(123, 35, 27)
HSLhsl(5, 64%, 29%)
HSVhsv(5, 78%, 48%)
CMYKcmyk(0%, 71.5%, 78%, 51.8%)
CIE-LABlab(28.10, 37.56, 26.79)
CIE-LCHlch(28.10, 46.13, 35.50°)
OKLaboklab(39.45% 0.1078 0.0598)
OKLCHoklch(39.45% 0.123 29)
XYZxyz(8.9682, 5.4935, 1.6248)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B231B #1B737B
analogous
#7B1B43 #7B231B #7B531B
triadic
#7B231B #1B7B23 #231B7B
tetradic
#7B231B #437B1B #1B737B #531B7B
square
#7B231B #437B1B #1B737B #531B7B
split-complementary
#7B231B #1B7B53 #1B437B
monochromatic
#190706 #491510 #7B231B #AD3126 #D4493C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B231B#FFFFFF#000000##FFFFFF
##7B231B1.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)
#3C3619
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#880622
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b231b;
/* rgb */ color: rgb(123, 35, 27);
/* oklch */ color: oklch(39.5% 0.123 29.0);
Tailwind
colors: {
  custom: {
    50: '#a86458',
    500: '#7b231b',
    950: '#000000',
  },
}
SCSS
$custom: #7b231b;
$custom-light: #a86458;
$custom-dark: #000000;
JSON
{
  "hex": "#7b231b",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.12326,
    "h": 29
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7B231B
secondary
#43A6AF
accent
#D9E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B231B

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

Preview Lab → · Contrast checker → · Palette generator →

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