#7C1C5E#7C1C5E

#7C1C5E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.147 H 343.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7C1C5E
RGBrgb(124, 28, 94)
HSLhsl(319, 63%, 30%)
HSVhsv(319, 77%, 49%)
CMYKcmyk(0%, 77.4%, 24.2%, 51.4%)
CIE-LABlab(29.22, 46.87, -15.64)
CIE-LCHlch(29.22, 49.41, 341.54°)
OKLaboklab(40.94% 0.1414 -0.0418)
OKLCHoklch(40.94% 0.147 343.5)
XYZxyz(10.7482, 5.9249, 11.1651)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C5E #1C7C3A
analogous
#6A1C7C #7C1C5E #7C1C2E
triadic
#7C1C5E #5E7C1C #1C5E7C
tetradic
#7C1C5E #7C6A1C #1C7C3A #1C2E7C
square
#7C1C5E #7C6A1C #1C7C3A #1C2E7C
split-complementary
#7C1C5E #2E7C1C #1C7C6A
monochromatic
#190613 #4A1138 #7C1C5E #AE2784 #D43FA5

Accessibility & contrast

On white

9.61
#7C1C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C1C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C5E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C5E#FFFFFF#000000##FFFFFF
##7C1C5E1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#444B5C
Tritanopia (blue-blind)
#841C3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1c5e;
/* rgb */ color: rgb(124, 28, 94);
/* oklch */ color: oklch(40.9% 0.147 343.5);
Tailwind
colors: {
  custom: {
    50: '#a5638b',
    500: '#7c1c5e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c5e;
$custom-light: #a5638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c5e",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 318.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.14745,
    "h": 343.5
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#7C1C5E
secondary
#44B066
accent
#E67542
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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