#7C1547#7C1547

#7C1547 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 357.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7C1547
RGBrgb(124, 21, 71)
HSLhsl(331, 71%, 28%)
HSVhsv(331, 83%, 49%)
CMYKcmyk(0%, 83.1%, 42.7%, 51.4%)
CIE-LABlab(27.51, 46.26, -3.01)
CIE-LCHlch(27.51, 46.35, 356.27°)
OKLaboklab(39.39% 0.1423 -0.0073)
OKLCHoklch(39.39% 0.143 357)
XYZxyz(9.7184, 5.2776, 6.4669)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1547 #157C4A
analogous
#7C157A #7C1547 #7C1715
triadic
#7C1547 #477C15 #15477C
tetradic
#7C1547 #7A7C15 #157C4A #17157C
square
#7C1547 #7A7C15 #157C4A #17157C
split-complementary
#7C1547 #157C17 #157A7C
monochromatic
#1A040F #480C29 #7C1547 #B01E65 #DC3083

Accessibility & contrast

On white

10.22
#7C1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1547
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1547#FFFFFF#000000##FFFFFF
##7C15471.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#87022C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1547;
/* rgb */ color: rgb(124, 21, 71);
/* oklch */ color: oklch(39.4% 0.143 357.0);
Tailwind
colors: {
  custom: {
    50: '#a75f7a',
    500: '#7c1547',
    950: '#000000',
  },
}
SCSS
$custom: #7c1547;
$custom-light: #a75f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1547",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 330.874,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.14253,
    "h": 357
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#7C1547
secondary
#3CB178
accent
#EE973A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7C1547

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

Preview Lab → · Contrast checker → · Palette generator →

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