#7B212B#7B212B

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

Color values

HEX#7B212B
RGBrgb(123, 33, 43)
HSLhsl(353, 58%, 31%)
HSVhsv(353, 73%, 48%)
CMYKcmyk(0%, 73.2%, 65%, 51.8%)
CIE-LABlab(28.05, 39.30, 16.49)
CIE-LCHlch(28.05, 42.62, 22.76°)
OKLaboklab(39.5% 0.1169 0.0397)
OKLCHoklch(39.5% 0.123 18.8)
XYZxyz(9.1492, 5.4744, 2.8599)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B212B #217B71
analogous
#7B2158 #7B212B #7B4421
triadic
#7B212B #2B7B21 #212B7B
tetradic
#7B212B #587B21 #217B71 #44217B
square
#7B212B #587B21 #217B71 #44217B
split-complementary
#7B212B #217B44 #21587B
monochromatic
#1A0709 #4B141A #7B212B #AB2E3C #CE4857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B212B#FFFFFF#000000##FFFFFF
##7B212B1.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)
#39362B
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#870725
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b212b;
/* rgb */ color: rgb(123, 33, 43);
/* oklch */ color: oklch(39.5% 0.123 18.8);
Tailwind
colors: {
  custom: {
    50: '#a76364',
    500: '#7b212b',
    950: '#000000',
  },
}
SCSS
$custom: #7b212b;
$custom-light: #a76364;
$custom-dark: #000000;
JSON
{
  "hex": "#7b212b",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 353.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.12343,
    "h": 18.8
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#7B212B
secondary
#4AAEA3
accent
#E1D047
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B212B

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

Preview Lab → · Contrast checker → · Palette generator →

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