#7B2131#7B2131

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

Color values

HEX#7B2131
RGBrgb(123, 33, 49)
HSLhsl(349, 58%, 31%)
HSVhsv(349, 73%, 48%)
CMYKcmyk(0%, 73.2%, 60.2%, 51.8%)
CIE-LABlab(28.17, 39.74, 12.67)
CIE-LCHlch(28.17, 41.71, 17.69°)
OKLaboklab(39.63% 0.1194 0.0313)
OKLCHoklch(39.63% 0.123 14.7)
XYZxyz(9.2675, 5.5217, 3.4829)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2131 #217B6B
analogous
#7B215E #7B2131 #7B3E21
triadic
#7B2131 #317B21 #21317B
tetradic
#7B2131 #5E7B21 #217B6B #3E217B
square
#7B2131 #5E7B21 #217B6B #3E217B
split-complementary
#7B2131 #217B3E #215E7B
monochromatic
#1A070B #4B141E #7B2131 #AB2E44 #CE4860

Accessibility & contrast

On white

9.98
#7B2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2131
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2131#FFFFFF#000000##FFFFFF
##7B21311.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383731
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#870A28
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b2131;
/* rgb */ color: rgb(123, 33, 49);
/* oklch */ color: oklch(39.6% 0.123 14.7);
Tailwind
colors: {
  custom: {
    50: '#a76368',
    500: '#7b2131',
    950: '#000000',
  },
}
SCSS
$custom: #7b2131;
$custom-light: #a76368;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2131",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.12346,
    "h": 14.7
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7B2131
secondary
#4AAE9C
accent
#E1C647
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B2131

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

Preview Lab → · Contrast checker → · Palette generator →

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