#7B2128#7B2128

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

Color values

HEX#7B2128
RGBrgb(123, 33, 40)
HSLhsl(355, 58%, 31%)
HSVhsv(355, 73%, 48%)
CMYKcmyk(0%, 73.2%, 67.5%, 51.8%)
CIE-LABlab(27.99, 39.10, 18.39)
CIE-LCHlch(27.99, 43.21, 25.19°)
OKLaboklab(39.44% 0.1156 0.0437)
OKLCHoklch(39.44% 0.124 20.7)
XYZxyz(9.0962, 5.4532, 2.5807)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2128 #217B74
analogous
#7B2155 #7B2128 #7B4721
triadic
#7B2128 #287B21 #21287B
tetradic
#7B2128 #557B21 #217B74 #47217B
square
#7B2128 #557B21 #217B74 #47217B
split-complementary
#7B2128 #217B47 #21557B
monochromatic
#1A0709 #4B1418 #7B2128 #AB2E38 #CE4853

Accessibility & contrast

On white

10.05
#7B2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2128
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2128#FFFFFF#000000##FFFFFF
##7B21281.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3628
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#870624
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2128;
/* rgb */ color: rgb(123, 33, 40);
/* oklch */ color: oklch(39.4% 0.124 20.7);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7b2128',
    950: '#000000',
  },
}
SCSS
$custom: #7b2128;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2128",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 355.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.12359,
    "h": 20.7
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#7B2128
secondary
#4AAEA6
accent
#E1D547
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7B2128

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

Preview Lab → · Contrast checker → · Palette generator →

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