#7C1A56#7C1A56

#7C1A56 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.145 H 348.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7C1A56
RGBrgb(124, 26, 86)
HSLhsl(323, 65%, 29%)
HSVhsv(323, 79%, 49%)
CMYKcmyk(0%, 79%, 30.6%, 51.4%)
CIE-LABlab(28.63, 46.47, -11.30)
CIE-LCHlch(28.63, 47.82, 346.33°)
OKLaboklab(40.4% 0.1417 -0.0297)
OKLCHoklch(40.4% 0.145 348.2)
XYZxyz(10.3618, 5.6969, 9.3562)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A56 #1A7C40
analogous
#711A7C #7C1A56 #7C1A25
triadic
#7C1A56 #567C1A #1A567C
tetradic
#7C1A56 #7C711A #1A7C40 #1A257C
square
#7C1A56 #7C711A #1A7C40 #1A257C
split-complementary
#7C1A56 #257C1A #1A7C71
monochromatic
#190512 #490F33 #7C1A56 #AF2579 #D63B9A

Accessibility & contrast

On white

9.82
#7C1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A56
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A56#FFFFFF#000000##FFFFFF
##7C1A561.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#851536
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a56;
/* rgb */ color: rgb(124, 26, 86);
/* oklch */ color: oklch(40.4% 0.145 348.2);
Tailwind
colors: {
  custom: {
    50: '#a66285',
    500: '#7c1a56',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a56;
$custom-light: #a66285;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a56",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 323.265,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.14482,
    "h": 348.2
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#7C1A56
secondary
#42B06C
accent
#E88140
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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