#7A231B#7A231B

#7A231B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.122 H 29.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7A231B
RGBrgb(122, 35, 27)
HSLhsl(5, 64%, 29%)
HSVhsv(5, 78%, 48%)
CMYKcmyk(0%, 71.3%, 77.9%, 52.2%)
CIE-LABlab(27.90, 37.20, 26.52)
CIE-LCHlch(27.90, 45.68, 35.49°)
OKLaboklab(39.27% 0.1068 0.0593)
OKLCHoklch(39.27% 0.122 29)
XYZxyz(8.8259, 5.4201, 1.6181)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A231B #1B727A
analogous
#7A1B43 #7A231B #7A531B
triadic
#7A231B #1B7A23 #231B7A
tetradic
#7A231B #437A1B #1B727A #531B7A
square
#7A231B #437A1B #1B727A #531B7A
split-complementary
#7A231B #1B7A53 #1B437A
monochromatic
#190706 #481510 #7A231B #AC3126 #D4483C

Accessibility & contrast

On white

10.08
#7A231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A231B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A231B#FFFFFF#000000##FFFFFF
##7A231B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3619
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#870722
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a231b;
/* rgb */ color: rgb(122, 35, 27);
/* oklch */ color: oklch(39.3% 0.122 29.0);
Tailwind
colors: {
  custom: {
    50: '#a86458',
    500: '#7a231b',
    950: '#000000',
  },
}
SCSS
$custom: #7a231b;
$custom-light: #a86458;
$custom-dark: #000000;
JSON
{
  "hex": "#7a231b",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 5.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.12213,
    "h": 29
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A231B

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

Preview Lab → · Contrast checker → · Palette generator →

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