#7B2020#7B2020

#7B2020 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.125 H 25.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7B2020
RGBrgb(123, 32, 32)
HSLhsl(0, 59%, 30%)
HSVhsv(0, 74%, 48%)
CMYKcmyk(0%, 74%, 74%, 51.8%)
CIE-LABlab(27.71, 39.05, 23.23)
CIE-LCHlch(27.71, 45.44, 30.75°)
OKLaboklab(39.19% 0.1136 0.0532)
OKLCHoklch(39.19% 0.125 25.1)
XYZxyz(8.9466, 5.3496, 1.9277)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2020 #207B7B
analogous
#7B204D #7B2020 #7B4D20
triadic
#7B2020 #207B20 #20207B
tetradic
#7B2020 #4D7B20 #207B7B #4D207B
square
#7B2020 #4D7B20 #207B7B #4D207B
split-complementary
#7B2020 #207B4D #204D7B
monochromatic
#1A0707 #4A1313 #7B2020 #AC2D2D #CF4646

Accessibility & contrast

On white

10.15
#7B2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2020
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2020#FFFFFF#000000##FFFFFF
##7B20201.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351F
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b2020;
/* rgb */ color: rgb(123, 32, 32);
/* oklch */ color: oklch(39.2% 0.125 25.1);
Tailwind
colors: {
  custom: {
    50: '#a8625b',
    500: '#7b2020',
    950: '#000000',
  },
}
SCSS
$custom: #7b2020;
$custom-light: #a8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2020",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.12546,
    "h": 25.1
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#7B2020
secondary
#49AEAE
accent
#E2E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B2020

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

Preview Lab → · Contrast checker → · Palette generator →

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