#7C1A47#7C1A47

#7C1A47 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 357.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7C1A47
RGBrgb(124, 26, 71)
HSLhsl(332, 65%, 29%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 79%, 42.7%, 51.4%)
CIE-LABlab(28.06, 44.70, -2.20)
CIE-LCHlch(28.06, 44.75, 357.18°)
OKLaboklab(39.79% 0.1374 -0.0052)
OKLCHoklch(39.79% 0.137 357.8)
XYZxyz(9.8196, 5.4801, 6.5007)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A47 #1A7C4F
analogous
#7C1A78 #7C1A47 #7C1E1A
triadic
#7C1A47 #477C1A #1A477C
tetradic
#7C1A47 #787C1A #1A7C4F #1E1A7C
square
#7C1A47 #787C1A #1A7C4F #1E1A7C
split-complementary
#7C1A47 #1A7C1E #1A787C
monochromatic
#19050E #490F2A #7C1A47 #AF2564 #D63B82

Accessibility & contrast

On white

10.02
#7C1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A47
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A47#FFFFFF#000000##FFFFFF
##7C1A471.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#870A2E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1a47;
/* rgb */ color: rgb(124, 26, 71);
/* oklch */ color: oklch(39.8% 0.137 357.8);
Tailwind
colors: {
  custom: {
    50: '#a6617a',
    500: '#7c1a47',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a47;
$custom-light: #a6617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a47",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 332.449,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.13745,
    "h": 357.8
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#7C1A47
secondary
#42B07D
accent
#E89B40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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