#7B1525#7B1525

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

Color values

HEX#7B1525
RGBrgb(123, 21, 37)
HSLhsl(351, 71%, 28%)
HSVhsv(351, 83%, 48%)
CMYKcmyk(0%, 82.9%, 69.9%, 51.8%)
CIE-LABlab(26.40, 43.21, 18.37)
CIE-LCHlch(26.40, 46.95, 23.04°)
OKLaboklab(38.24% 0.1281 0.0433)
OKLCHoklch(38.24% 0.135 18.7)
XYZxyz(8.7715, 4.8822, 2.2304)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1525 #157B6B
analogous
#7B1558 #7B1525 #7B3815
triadic
#7B1525 #257B15 #15257B
tetradic
#7B1525 #587B15 #157B6B #38157B
square
#7B1525 #587B15 #157B6B #38157B
split-complementary
#7B1525 #157B38 #15587B
monochromatic
#1A0408 #470C15 #7B1525 #AF1E35 #DB2F4A

Accessibility & contrast

On white

10.63
#7B1525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1525
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1525#FFFFFF#000000##FFFFFF
##7B15251.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343125
Deuteranopia (green-blind)
#4D4622
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1525;
/* rgb */ color: rgb(123, 21, 37);
/* oklch */ color: oklch(38.2% 0.135 18.7);
Tailwind
colors: {
  custom: {
    50: '#a85e5f',
    500: '#7b1525',
    950: '#000000',
  },
}
SCSS
$custom: #7b1525;
$custom-light: #a85e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1525",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 37
  },
  "hsl": {
    "h": 350.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.13517,
    "h": 18.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#7B1525
secondary
#3BB09E
accent
#EED13A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1525

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

Preview Lab → · Contrast checker → · Palette generator →

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