#7C1A4E#7C1A4E

#7C1A4E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 353.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C1A4E
RGBrgb(124, 26, 78)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79%, 37.1%, 51.4%)
CIE-LABlab(28.31, 45.48, -6.49)
CIE-LCHlch(28.31, 45.94, 351.88°)
OKLaboklab(40.06% 0.1396 -0.0166)
OKLCHoklch(40.06% 0.141 353.2)
XYZxyz(10.0574, 5.5752, 7.7527)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4E #1A7C48
analogous
#791A7C #7C1A4E #7C1A1D
triadic
#7C1A4E #4E7C1A #1A4E7C
tetradic
#7C1A4E #7C791A #1A7C48 #1A1D7C
square
#7C1A4E #7C791A #1A7C48 #1A1D7C
split-complementary
#7C1A4E #1D7C1A #1A7C79
monochromatic
#190510 #490F2E #7C1A4E #AF256E #D63B8D

Accessibility & contrast

On white

9.93
#7C1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A4E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A4E#FFFFFF#000000##FFFFFF
##7C1A4E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#861031
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a4e;
/* rgb */ color: rgb(124, 26, 78);
/* oklch */ color: oklch(40.1% 0.141 353.2);
Tailwind
colors: {
  custom: {
    50: '#a6617f',
    500: '#7c1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4e;
$custom-light: #a6617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4e",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 328.163,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.14057,
    "h": 353.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7C1A4E
secondary
#42B076
accent
#E88F40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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