#7C1847#7C1847

#7C1847 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 357.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7C1847
RGBrgb(124, 24, 71)
HSLhsl(332, 68%, 29%)
HSVhsv(332, 81%, 49%)
CMYKcmyk(0%, 80.6%, 42.7%, 51.4%)
CIE-LABlab(27.83, 45.35, -2.54)
CIE-LCHlch(27.83, 45.42, 356.79°)
OKLaboklab(39.62% 0.1394 -0.0061)
OKLCHoklch(39.62% 0.14 357.5)
XYZxyz(9.7769, 5.3946, 6.4864)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1847 #187C4D
analogous
#7C1879 #7C1847 #7C1B18
triadic
#7C1847 #477C18 #18477C
tetradic
#7C1847 #797C18 #187C4D #1B187C
square
#7C1847 #797C18 #187C4D #1B187C
split-complementary
#7C1847 #187C1B #18797C
monochromatic
#1A050F #490E2A #7C1847 #AF2264 #D83682

Accessibility & contrast

On white

10.10
#7C1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1847
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1847#FFFFFF#000000##FFFFFF
##7C18471.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#87072D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1847;
/* rgb */ color: rgb(124, 24, 71);
/* oklch */ color: oklch(39.6% 0.140 357.5);
Tailwind
colors: {
  custom: {
    50: '#a7607a',
    500: '#7c1847',
    950: '#000000',
  },
}
SCSS
$custom: #7c1847;
$custom-light: #a7607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1847",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 331.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.13957,
    "h": 357.5
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#7C1847
secondary
#3FB17B
accent
#EA993D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1847

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

Preview Lab → · Contrast checker → · Palette generator →

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