#7B2222#7B2222

#7B2222 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.4% C 0.123 H 24.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7B2222
RGBrgb(123, 34, 34)
HSLhsl(0, 57%, 31%)
HSVhsv(0, 72%, 48%)
CMYKcmyk(0%, 72.4%, 72.4%, 51.8%)
CIE-LABlab(28.04, 38.33, 22.35)
CIE-LCHlch(28.04, 44.37, 30.24°)
OKLaboklab(39.44% 0.1118 0.0516)
OKLCHoklch(39.44% 0.123 24.8)
XYZxyz(9.0301, 5.4718, 2.0937)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2222 #227B7B
analogous
#7B224E #7B2222 #7B4E22
triadic
#7B2222 #227B22 #22227B
tetradic
#7B2222 #4E7B22 #227B7B #4E227B
square
#7B2222 #4E7B22 #227B7B #4E227B
split-complementary
#7B2222 #227B4E #224E7B
monochromatic
#1B0707 #4B1515 #7B2222 #AB2F2F #CD4A4A

Accessibility & contrast

On white

10.03
#7B2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2222
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2222#FFFFFF#000000##FFFFFF
##7B22221.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3621
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#880623
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2222;
/* rgb */ color: rgb(123, 34, 34);
/* oklch */ color: oklch(39.4% 0.123 24.8);
Tailwind
colors: {
  custom: {
    50: '#a8635d',
    500: '#7b2222',
    950: '#000000',
  },
}
SCSS
$custom: #7b2222;
$custom-light: #a8635d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2222",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.12316,
    "h": 24.8
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7B2222
secondary
#4BAEAE
accent
#E0E048
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B2222

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

Preview Lab → · Contrast checker → · Palette generator →

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