#7C2137#7C2137

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

Color values

HEX#7C2137
RGBrgb(124, 33, 55)
HSLhsl(345, 58%, 31%)
HSVhsv(345, 73%, 49%)
CMYKcmyk(0%, 73.4%, 55.6%, 51.4%)
CIE-LABlab(28.51, 40.56, 9.16)
CIE-LCHlch(28.51, 41.58, 12.73°)
OKLaboklab(39.97% 0.1229 0.0232)
OKLCHoklch(39.97% 0.125 10.7)
XYZxyz(9.5465, 5.6499, 4.2015)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2137 #217C66
analogous
#7C2164 #7C2137 #7C3921
triadic
#7C2137 #377C21 #21377C
tetradic
#7C2137 #647C21 #217C66 #39217C
square
#7C2137 #647C21 #217C66 #39217C
split-complementary
#7C2137 #217C39 #21647C
monochromatic
#1B070C #4C1422 #7C2137 #AC2E4C #CF4969

Accessibility & contrast

On white

9.86
#7C2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C2137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2137
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2137#FFFFFF#000000##FFFFFF
##7C21371.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383737
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#880D2A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2137;
/* rgb */ color: rgb(124, 33, 55);
/* oklch */ color: oklch(40.0% 0.125 10.7);
Tailwind
colors: {
  custom: {
    50: '#a7646d',
    500: '#7c2137',
    950: '#000000',
  },
}
SCSS
$custom: #7c2137;
$custom-light: #a7646d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2137",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 345.495,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.12508,
    "h": 10.7
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7C2137
secondary
#4AAF96
accent
#E1BC47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7C2137

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

Preview Lab → · Contrast checker → · Palette generator →

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