#7C1147#7C1147

#7C1147 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.1% C 0.146 H 356.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7C1147
RGBrgb(124, 17, 71)
HSLhsl(330, 76%, 28%)
HSVhsv(330, 86%, 49%)
CMYKcmyk(0%, 86.3%, 42.7%, 51.4%)
CIE-LABlab(27.14, 47.33, -3.57)
CIE-LCHlch(27.14, 47.46, 355.69°)
OKLaboklab(39.12% 0.1458 -0.0088)
OKLCHoklch(39.12% 0.146 356.5)
XYZxyz(9.6507, 5.1422, 6.4444)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1147 #117C46
analogous
#7C117C #7C1147 #7C1111
triadic
#7C1147 #477C11 #11477C
tetradic
#7C1147 #7C7C11 #117C46 #11117C
square
#7C1147 #7C7C11 #117C46 #11117C
split-complementary
#7C1147 #117C11 #117C7C
monochromatic
#1B040F #460A28 #7C1147 #B21866 #E12685

Accessibility & contrast

On white

10.35
#7C1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1147
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1147#FFFFFF#000000##FFFFFF
##7C11471.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3448
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#87002B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1147;
/* rgb */ color: rgb(124, 17, 71);
/* oklch */ color: oklch(39.1% 0.146 356.5);
Tailwind
colors: {
  custom: {
    50: '#a75e7a',
    500: '#7c1147',
    950: '#000000',
  },
}
SCSS
$custom: #7c1147;
$custom-light: #a75e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1147",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 329.72,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.14605,
    "h": 356.5
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#7C1147
secondary
#37B274
accent
#F29335
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7C1147

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

Preview Lab → · Contrast checker → · Palette generator →

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