#7B2028#7B2028

#7B2028 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.125 H 20.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2028
RGBrgb(123, 32, 40)
HSLhsl(355, 59%, 30%)
HSVhsv(355, 74%, 48%)
CMYKcmyk(0%, 74%, 67.5%, 51.8%)
CIE-LABlab(27.84, 39.51, 18.21)
CIE-LCHlch(27.84, 43.50, 24.74°)
OKLaboklab(39.33% 0.1169 0.0433)
OKLCHoklch(39.33% 0.125 20.3)
XYZxyz(9.0688, 5.3985, 2.5716)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2028 #207B73
analogous
#7B2056 #7B2028 #7B4520
triadic
#7B2028 #287B20 #20287B
tetradic
#7B2028 #567B20 #207B73 #45207B
square
#7B2028 #567B20 #207B73 #45207B
split-complementary
#7B2028 #207B45 #20567B
monochromatic
#1A0708 #4A1318 #7B2028 #AC2D38 #CF4652

Accessibility & contrast

On white

10.10
#7B2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2028
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2028#FFFFFF#000000##FFFFFF
##7B20281.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#870324
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2028;
/* rgb */ color: rgb(123, 32, 40);
/* oklch */ color: oklch(39.3% 0.125 20.3);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7b2028',
    950: '#000000',
  },
}
SCSS
$custom: #7b2028;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2028",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 354.725,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.12466,
    "h": 20.3
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#7B2028
secondary
#49AEA5
accent
#E2D446
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7B2028

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

Preview Lab → · Contrast checker → · Palette generator →

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