#7C1747#7C1747

#7C1747 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.141 H 357.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7C1747
RGBrgb(124, 23, 71)
HSLhsl(331, 69%, 29%)
HSVhsv(331, 81%, 49%)
CMYKcmyk(0%, 81.5%, 42.7%, 51.4%)
CIE-LABlab(27.72, 45.66, -2.70)
CIE-LCHlch(27.72, 45.74, 356.61°)
OKLaboklab(39.54% 0.1404 -0.0065)
OKLCHoklch(39.54% 0.141 357.3)
XYZxyz(9.7566, 5.3541, 6.4797)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1747 #177C4C
analogous
#7C177A #7C1747 #7C1A17
triadic
#7C1747 #477C17 #17477C
tetradic
#7C1747 #7A7C17 #177C4C #1A177C
square
#7C1747 #7A7C17 #177C4C #1A177C
split-complementary
#7C1747 #177C1A #177A7C
monochromatic
#1A050F #480D29 #7C1747 #B02165 #D93483

Accessibility & contrast

On white

10.14
#7C1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C1747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1747
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1747#FFFFFF#000000##FFFFFF
##7C17471.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#87052D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1747;
/* rgb */ color: rgb(124, 23, 71);
/* oklch */ color: oklch(39.5% 0.141 357.3);
Tailwind
colors: {
  custom: {
    50: '#a7607a',
    500: '#7c1747',
    950: '#000000',
  },
}
SCSS
$custom: #7c1747;
$custom-light: #a7607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1747",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 331.485,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.14059,
    "h": 357.3
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#7C1747
secondary
#3EB17A
accent
#EC983C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1747

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

Preview Lab → · Contrast checker → · Palette generator →

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