#7C2131#7C2131

#7C2131 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.125 H 14.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7C2131
RGBrgb(124, 33, 49)
HSLhsl(349, 58%, 31%)
HSVhsv(349, 73%, 49%)
CMYKcmyk(0%, 73.4%, 60.5%, 51.4%)
CIE-LABlab(28.37, 40.07, 12.97)
CIE-LCHlch(28.37, 42.12, 17.94°)
OKLaboklab(39.82% 0.1204 0.032)
OKLCHoklch(39.82% 0.125 14.9)
XYZxyz(9.4113, 5.5959, 3.4897)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2131 #217C6C
analogous
#7C215E #7C2131 #7C3E21
triadic
#7C2131 #317C21 #21317C
tetradic
#7C2131 #5E7C21 #217C6C #3E217C
square
#7C2131 #5E7C21 #217C6C #3E217C
split-complementary
#7C2131 #217C3E #215E7C
monochromatic
#1B070B #4C141E #7C2131 #AC2E44 #CF4960

Accessibility & contrast

On white

9.91
#7C2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2131
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2131#FFFFFF#000000##FFFFFF
##7C21311.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#880A28
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2131;
/* rgb */ color: rgb(124, 33, 49);
/* oklch */ color: oklch(39.8% 0.125 14.9);
Tailwind
colors: {
  custom: {
    50: '#a86368',
    500: '#7c2131',
    950: '#000000',
  },
}
SCSS
$custom: #7c2131;
$custom-light: #a86368;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2131",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.451,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.12456,
    "h": 14.9
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#7C2131
secondary
#4AAF9D
accent
#E1C647
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C2131

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

Preview Lab → · Contrast checker → · Palette generator →

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