#7C1C5A#7C1C5A

#7C1C5A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.145 H 345.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C1C5A
RGBrgb(124, 28, 90)
HSLhsl(321, 63%, 30%)
HSVhsv(321, 77%, 49%)
CMYKcmyk(0%, 77.4%, 27.4%, 51.4%)
CIE-LABlab(29.04, 46.32, -13.30)
CIE-LCHlch(29.04, 48.19, 343.98°)
OKLaboklab(40.75% 0.1406 -0.0353)
OKLCHoklch(40.75% 0.145 345.9)
XYZxyz(10.5734, 5.8549, 10.2442)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C5A #1C7C3E
analogous
#6E1C7C #7C1C5A #7C1C2A
triadic
#7C1C5A #5A7C1C #1C5A7C
tetradic
#7C1C5A #7C6E1C #1C7C3E #1C2A7C
square
#7C1C5A #7C6E1C #1C7C3E #1C2A7C
split-complementary
#7C1C5A #2A7C1C #1C7C6E
monochromatic
#190612 #4A1136 #7C1C5A #AE277E #D43F9F

Accessibility & contrast

On white

9.67
#7C1C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C5A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C5A#FFFFFF#000000##FFFFFF
##7C1C5A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#851A38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1c5a;
/* rgb */ color: rgb(124, 28, 90);
/* oklch */ color: oklch(40.8% 0.145 345.9);
Tailwind
colors: {
  custom: {
    50: '#a66388',
    500: '#7c1c5a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c5a;
$custom-light: #a66388;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c5a",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 321.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.14492,
    "h": 345.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#7C1C5A
secondary
#44B06A
accent
#E67C42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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