#7B212A#7B212A

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

Color values

HEX#7B212A
RGBrgb(123, 33, 42)
HSLhsl(354, 58%, 31%)
HSVhsv(354, 73%, 48%)
CMYKcmyk(0%, 73.2%, 65.9%, 51.8%)
CIE-LABlab(28.03, 39.23, 17.12)
CIE-LCHlch(28.03, 42.80, 23.58°)
OKLaboklab(39.48% 0.1164 0.0411)
OKLCHoklch(39.48% 0.123 19.4)
XYZxyz(9.1311, 5.4671, 2.7645)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B212A #217B72
analogous
#7B2157 #7B212A #7B4521
triadic
#7B212A #2A7B21 #212A7B
tetradic
#7B212A #577B21 #217B72 #45217B
square
#7B212A #577B21 #217B72 #45217B
split-complementary
#7B212A #217B45 #21577B
monochromatic
#1A0709 #4B141A #7B212A #AB2E3A #CE4856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B212A#FFFFFF#000000##FFFFFF
##7B212A1.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)
#39362A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#870725
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b212a;
/* rgb */ color: rgb(123, 33, 42);
/* oklch */ color: oklch(39.5% 0.123 19.4);
Tailwind
colors: {
  custom: {
    50: '#a76363',
    500: '#7b212a',
    950: '#000000',
  },
}
SCSS
$custom: #7b212a;
$custom-light: #a76363;
$custom-dark: #000000;
JSON
{
  "hex": "#7b212a",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 42
  },
  "hsl": {
    "h": 354,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39477,
    "c": 0.12348,
    "h": 19.4
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#7B212A
secondary
#4AAEA4
accent
#E1D247
background
#FBF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B212A

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

Preview Lab → · Contrast checker → · Palette generator →

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