#7B2227#7B2227

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

Color values

HEX#7B2227
RGBrgb(123, 34, 39)
HSLhsl(357, 57%, 31%)
HSVhsv(357, 72%, 48%)
CMYKcmyk(0%, 72.4%, 68.3%, 51.8%)
CIE-LABlab(28.12, 38.62, 19.22)
CIE-LCHlch(28.12, 43.14, 26.45°)
OKLaboklab(39.53% 0.1139 0.0455)
OKLCHoklch(39.53% 0.123 21.8)
XYZxyz(9.1076, 5.5028, 2.5016)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2227 #227B76
analogous
#7B2253 #7B2227 #7B4922
triadic
#7B2227 #277B22 #22277B
tetradic
#7B2227 #537B22 #227B76 #49227B
square
#7B2227 #537B22 #227B76 #49227B
split-complementary
#7B2227 #227B49 #22537B
monochromatic
#1B0709 #4B1518 #7B2227 #AB2F36 #CD4A52

Accessibility & contrast

On white

10.00
#7B2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2227
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2227#FFFFFF#000000##FFFFFF
##7B22271.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3626
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#870825
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2227;
/* rgb */ color: rgb(123, 34, 39);
/* oklch */ color: oklch(39.5% 0.123 21.8);
Tailwind
colors: {
  custom: {
    50: '#a76461',
    500: '#7b2227',
    950: '#000000',
  },
}
SCSS
$custom: #7b2227;
$custom-light: #a76461;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2227",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.629,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.12259,
    "h": 21.8
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#7B2227
secondary
#4BAEA8
accent
#E0D748
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7B2227

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

Preview Lab → · Contrast checker → · Palette generator →

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