#7C2134#7C2134

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

Color values

HEX#7C2134
RGBrgb(124, 33, 52)
HSLhsl(347, 58%, 31%)
HSVhsv(347, 73%, 49%)
CMYKcmyk(0%, 73.4%, 58.1%, 51.4%)
CIE-LABlab(28.44, 40.31, 11.06)
CIE-LCHlch(28.44, 41.80, 15.35°)
OKLaboklab(39.89% 0.1216 0.0277)
OKLCHoklch(39.89% 0.125 12.8)
XYZxyz(9.4768, 5.6220, 3.8343)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2134 #217C69
analogous
#7C2161 #7C2134 #7C3C21
triadic
#7C2134 #347C21 #21347C
tetradic
#7C2134 #617C21 #217C69 #3C217C
square
#7C2134 #617C21 #217C69 #3C217C
split-complementary
#7C2134 #217C3C #21617C
monochromatic
#1B070B #4C1420 #7C2134 #AC2E48 #CF4965

Accessibility & contrast

On white

9.89
#7C2134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2134
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2134#FFFFFF#000000##FFFFFF
##7C21341.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383734
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#880B29
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2134;
/* rgb */ color: rgb(124, 33, 52);
/* oklch */ color: oklch(39.9% 0.125 12.8);
Tailwind
colors: {
  custom: {
    50: '#a7646b',
    500: '#7c2134',
    950: '#000000',
  },
}
SCSS
$custom: #7c2134;
$custom-light: #a7646b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2134",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 347.473,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.12475,
    "h": 12.8
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#7C2134
secondary
#4AAF9A
accent
#E1C147
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7C2134

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

Preview Lab → · Contrast checker → · Palette generator →

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