#7B231C#7B231C

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

Color values

HEX#7B231C
RGBrgb(123, 35, 28)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 77%, 48%)
CMYKcmyk(0%, 71.5%, 77.2%, 51.8%)
CIE-LABlab(28.11, 37.60, 26.19)
CIE-LCHlch(28.11, 45.82, 34.86°)
OKLaboklab(39.47% 0.1082 0.0588)
OKLCHoklch(39.47% 0.123 28.5)
XYZxyz(8.9800, 5.4982, 1.6868)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B231C #1C747B
analogous
#7B1C45 #7B231C #7B531C
triadic
#7B231C #1C7B23 #231C7B
tetradic
#7B231C #457B1C #1C747B #531C7B
square
#7B231C #457B1C #1C747B #531C7B
split-complementary
#7B231C #1C7B53 #1C457B
monochromatic
#190706 #491511 #7B231C #AD3127 #D3493E

Accessibility & contrast

On white

10.00
#7B231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B231C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B231C#FFFFFF#000000##FFFFFF
##7B231C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361A
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#880622
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b231c;
/* rgb */ color: rgb(123, 35, 28);
/* oklch */ color: oklch(39.5% 0.123 28.5);
Tailwind
colors: {
  custom: {
    50: '#a86458',
    500: '#7b231c',
    950: '#000000',
  },
}
SCSS
$custom: #7b231c;
$custom-light: #a86458;
$custom-dark: #000000;
JSON
{
  "hex": "#7b231c",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 4.421,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.12309,
    "h": 28.5
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#7B231C
secondary
#44A7AF
accent
#DAE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B231C

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

Preview Lab → · Contrast checker → · Palette generator →

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