#7B212C#7B212C

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

Color values

HEX#7B212C
RGBrgb(123, 33, 44)
HSLhsl(353, 58%, 31%)
HSVhsv(353, 73%, 48%)
CMYKcmyk(0%, 73.2%, 64.2%, 51.8%)
CIE-LABlab(28.07, 39.37, 15.85)
CIE-LCHlch(28.07, 42.44, 21.94°)
OKLaboklab(39.52% 0.1173 0.0384)
OKLCHoklch(39.52% 0.123 18.1)
XYZxyz(9.1678, 5.4818, 2.9577)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B212C #217B70
analogous
#7B2159 #7B212C #7B4321
triadic
#7B212C #2C7B21 #212C7B
tetradic
#7B212C #597B21 #217B70 #43217B
square
#7B212C #597B21 #217B70 #43217B
split-complementary
#7B212C #217B43 #21597B
monochromatic
#1A0709 #4B141B #7B212C #AB2E3D #CE4859

Accessibility & contrast

On white

10.02
#7B212C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B212C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B212C#FFFFFF#000000##FFFFFF
##7B212C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362C
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#870826
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b212c;
/* rgb */ color: rgb(123, 33, 44);
/* oklch */ color: oklch(39.5% 0.123 18.1);
Tailwind
colors: {
  custom: {
    50: '#a76364',
    500: '#7b212c',
    950: '#000000',
  },
}
SCSS
$custom: #7b212c;
$custom-light: #a76364;
$custom-dark: #000000;
JSON
{
  "hex": "#7b212c",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 352.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.12341,
    "h": 18.1
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#7B212C
secondary
#4AAEA2
accent
#E1CE47
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7B212C

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

Preview Lab → · Contrast checker → · Palette generator →

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