#7C1140#7C1140

#7C1140 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.143 H 1.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7C1140
RGBrgb(124, 17, 64)
HSLhsl(334, 76%, 28%)
HSVhsv(334, 86%, 49%)
CMYKcmyk(0%, 86.3%, 48.4%, 51.4%)
CIE-LABlab(26.90, 46.64, 0.81)
CIE-LCHlch(26.90, 46.64, 0.99°)
OKLaboklab(38.86% 0.1434 0.0026)
OKLCHoklch(38.86% 0.143 1)
XYZxyz(9.4388, 5.0575, 5.3287)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1140 #117C4D
analogous
#7C1175 #7C1140 #7C1711
triadic
#7C1140 #407C11 #11407C
tetradic
#7C1140 #757C11 #117C4D #17117C
square
#7C1140 #757C11 #117C4D #17117C
split-complementary
#7C1140 #117C17 #11757C
monochromatic
#1B040E #460A24 #7C1140 #B2185C #E12678

Accessibility & contrast

On white

10.44
#7C1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1140
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1140#FFFFFF#000000##FFFFFF
##7C11401.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3341
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#870027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1140;
/* rgb */ color: rgb(124, 17, 64);
/* oklch */ color: oklch(38.9% 0.143 1.0);
Tailwind
colors: {
  custom: {
    50: '#a75e74',
    500: '#7c1140',
    950: '#000000',
  },
}
SCSS
$custom: #7c1140;
$custom-light: #a75e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1140",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 333.645,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.14342,
    "h": 1
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#7C1140
secondary
#37B27C
accent
#F29F35
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1140

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

Preview Lab → · Contrast checker → · Palette generator →

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