#7C1131#7C1131

#7C1131 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.140 H 10.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7C1131
RGBrgb(124, 17, 49)
HSLhsl(342, 76%, 28%)
HSVhsv(342, 86%, 49%)
CMYKcmyk(0%, 86.3%, 60.5%, 51.4%)
CIE-LABlab(26.47, 45.39, 10.40)
CIE-LCHlch(26.47, 46.57, 12.91°)
OKLaboklab(38.41% 0.1375 0.026)
OKLCHoklch(38.41% 0.14 10.7)
XYZxyz(9.0679, 4.9091, 3.3752)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1131 #117C5C
analogous
#7C1167 #7C1131 #7C2611
triadic
#7C1131 #317C11 #11317C
tetradic
#7C1131 #677C11 #117C5C #26117C
square
#7C1131 #677C11 #117C5C #26117C
split-complementary
#7C1131 #117C26 #11677C
monochromatic
#1B040B #460A1C #7C1131 #B21846 #E1265E

Accessibility & contrast

On white

10.60
#7C1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7C1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1131
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1131#FFFFFF#000000##FFFFFF
##7C11311.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1131;
/* rgb */ color: rgb(124, 17, 49);
/* oklch */ color: oklch(38.4% 0.140 10.7);
Tailwind
colors: {
  custom: {
    50: '#a85d68',
    500: '#7c1131',
    950: '#000000',
  },
}
SCSS
$custom: #7c1131;
$custom-light: #a85d68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1131",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 342.056,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.13994,
    "h": 10.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#7C1131
secondary
#37B28D
accent
#F2BA35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1131

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

Preview Lab → · Contrast checker → · Palette generator →

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