#7B1A23#7B1A23

#7B1A23 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.131 H 21.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7B1A23
RGBrgb(123, 26, 35)
HSLhsl(354, 65%, 29%)
HSVhsv(354, 79%, 48%)
CMYKcmyk(0%, 78.9%, 71.5%, 51.8%)
CIE-LABlab(26.94, 41.47, 20.37)
CIE-LCHlch(26.94, 46.20, 26.16°)
OKLaboklab(38.63% 0.122 0.0474)
OKLCHoklch(38.63% 0.131 21.2)
XYZxyz(8.8421, 5.0724, 2.1033)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A23 #1A7B72
analogous
#7B1A54 #7B1A23 #7B421A
triadic
#7B1A23 #237B1A #1A237B
tetradic
#7B1A23 #547B1A #1A7B72 #421A7B
square
#7B1A23 #547B1A #1A7B72 #421A7B
split-complementary
#7B1A23 #1A7B42 #1A547B
monochromatic
#190507 #480F15 #7B1A23 #AE2531 #D53A48

Accessibility & contrast

On white

10.43
#7B1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A23
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A23#FFFFFF#000000##FFFFFF
##7B1A231.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373223
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#88001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a23;
/* rgb */ color: rgb(123, 26, 35);
/* oklch */ color: oklch(38.6% 0.131 21.2);
Tailwind
colors: {
  custom: {
    50: '#a8605d',
    500: '#7b1a23',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a23;
$custom-light: #a8605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a23",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.433,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.13092,
    "h": 21.2
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#7B1A23
secondary
#42AFA5
accent
#E8D840
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1A23

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

Preview Lab → · Contrast checker → · Palette generator →

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