#7A231A#7A231A

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

Color values

HEX#7A231A
RGBrgb(122, 35, 26)
HSLhsl(6, 65%, 29%)
HSVhsv(6, 79%, 48%)
CMYKcmyk(0%, 71.3%, 78.7%, 52.2%)
CIE-LABlab(27.89, 37.15, 27.11)
CIE-LCHlch(27.89, 45.99, 36.12°)
OKLaboklab(39.26% 0.1064 0.0603)
OKLCHoklch(39.26% 0.122 29.5)
XYZxyz(8.8145, 5.4155, 1.5582)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A231A #1A717A
analogous
#7A1A41 #7A231A #7A531A
triadic
#7A231A #1A7A23 #231A7A
tetradic
#7A231A #417A1A #1A717A #531A7A
square
#7A231A #417A1A #1A717A #531A7A
split-complementary
#7A231A #1A7A53 #1A417A
monochromatic
#190705 #48150F #7A231A #AC3125 #D54839

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A231A#FFFFFF#000000##FFFFFF
##7A231A1.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)
#3C3618
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#870622
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a231a;
/* rgb */ color: rgb(122, 35, 26);
/* oklch */ color: oklch(39.3% 0.122 29.5);
Tailwind
colors: {
  custom: {
    50: '#a86457',
    500: '#7a231a',
    950: '#000000',
  },
}
SCSS
$custom: #7a231a;
$custom-light: #a86457;
$custom-dark: #000000;
JSON
{
  "hex": "#7a231a",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 5.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39257,
    "c": 0.12232,
    "h": 29.5
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#7A231A
secondary
#41A4AE
accent
#D8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A231A

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

Preview Lab → · Contrast checker → · Palette generator →

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