#7B2229#7B2229

#7B2229 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.122 H 20.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7B2229
RGBrgb(123, 34, 41)
HSLhsl(355, 57%, 31%)
HSVhsv(355, 72%, 48%)
CMYKcmyk(0%, 72.4%, 66.7%, 51.8%)
CIE-LABlab(28.16, 38.75, 17.95)
CIE-LCHlch(28.16, 42.71, 24.86°)
OKLaboklab(39.57% 0.1147 0.0429)
OKLCHoklch(39.57% 0.122 20.5)
XYZxyz(9.1416, 5.5164, 2.6808)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2229 #227B74
analogous
#7B2255 #7B2229 #7B4722
triadic
#7B2229 #297B22 #22297B
tetradic
#7B2229 #557B22 #227B74 #47227B
square
#7B2229 #557B22 #227B74 #47227B
split-complementary
#7B2229 #227B47 #22557B
monochromatic
#1B0709 #4B1519 #7B2229 #AB2F39 #CD4A55

Accessibility & contrast

On white

9.99
#7B2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2229
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2229#FFFFFF#000000##FFFFFF
##7B22291.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3629
Deuteranopia (green-blind)
#514926
Tritanopia (blue-blind)
#870925
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2229;
/* rgb */ color: rgb(123, 34, 41);
/* oklch */ color: oklch(39.6% 0.122 20.5);
Tailwind
colors: {
  custom: {
    50: '#a76462',
    500: '#7b2229',
    950: '#000000',
  },
}
SCSS
$custom: #7b2229;
$custom-light: #a76462;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2229",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.281,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.12243,
    "h": 20.5
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#7B2229
secondary
#4BAEA6
accent
#E0D448
background
#FBF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B2229

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

Preview Lab → · Contrast checker → · Palette generator →

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