#7B212E#7B212E

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

Color values

HEX#7B212E
RGBrgb(123, 33, 46)
HSLhsl(351, 58%, 31%)
HSVhsv(351, 73%, 48%)
CMYKcmyk(0%, 73.2%, 62.6%, 51.8%)
CIE-LABlab(28.11, 39.51, 14.58)
CIE-LCHlch(28.11, 42.11, 20.26°)
OKLaboklab(39.56% 0.1181 0.0356)
OKLCHoklch(39.56% 0.123 16.8)
XYZxyz(9.2063, 5.4972, 3.1605)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B212E #217B6E
analogous
#7B215B #7B212E #7B4121
triadic
#7B212E #2E7B21 #212E7B
tetradic
#7B212E #5B7B21 #217B6E #41217B
square
#7B212E #5B7B21 #217B6E #41217B
split-complementary
#7B212E #217B41 #215B7B
monochromatic
#1A070A #4B141C #7B212E #AB2E40 #CE485C

Accessibility & contrast

On white

10.00
#7B212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B212E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B212E#FFFFFF#000000##FFFFFF
##7B212E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b212e;
/* rgb */ color: rgb(123, 33, 46);
/* oklch */ color: oklch(39.6% 0.123 16.8);
Tailwind
colors: {
  custom: {
    50: '#a76366',
    500: '#7b212e',
    950: '#000000',
  },
}
SCSS
$custom: #7b212e;
$custom-light: #a76366;
$custom-dark: #000000;
JSON
{
  "hex": "#7b212e",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 351.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.12339,
    "h": 16.8
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#7B212E
secondary
#4AAE9F
accent
#E1CB47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7B212E

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

Preview Lab → · Contrast checker → · Palette generator →

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