#7B1523#7B1523

#7B1523 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 19.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7B1523
RGBrgb(123, 21, 35)
HSLhsl(352, 71%, 28%)
HSVhsv(352, 83%, 48%)
CMYKcmyk(0%, 82.9%, 71.5%, 51.8%)
CIE-LABlab(26.36, 43.10, 19.66)
CIE-LCHlch(26.36, 47.37, 24.52°)
OKLaboklab(38.2% 0.1272 0.0459)
OKLCHoklch(38.2% 0.135 19.8)
XYZxyz(8.7409, 4.8700, 2.0695)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1523 #157B6D
analogous
#7B1556 #7B1523 #7B3A15
triadic
#7B1523 #237B15 #15237B
tetradic
#7B1523 #567B15 #157B6D #3A157B
square
#7B1523 #567B15 #157B6D #3A157B
split-complementary
#7B1523 #157B3A #15567B
monochromatic
#1A0407 #470C14 #7B1523 #AF1E32 #DB2F47

Accessibility & contrast

On white

10.64
#7B1523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7B1523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1523
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1523#FFFFFF#000000##FFFFFF
##7B15231.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343123
Deuteranopia (green-blind)
#4E4620
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1523;
/* rgb */ color: rgb(123, 21, 35);
/* oklch */ color: oklch(38.2% 0.135 19.8);
Tailwind
colors: {
  custom: {
    50: '#a85e5d',
    500: '#7b1523',
    950: '#000000',
  },
}
SCSS
$custom: #7b1523;
$custom-light: #a85e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1523",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 35
  },
  "hsl": {
    "h": 351.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.13524,
    "h": 19.8
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#7B1523
secondary
#3BB0A0
accent
#EED53A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1523

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

Preview Lab → · Contrast checker → · Palette generator →

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