#7C1A5A#7C1A5A

#7C1A5A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.147 H 345.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7C1A5A
RGBrgb(124, 26, 90)
HSLhsl(321, 65%, 29%)
HSVhsv(321, 79%, 49%)
CMYKcmyk(0%, 79%, 27.4%, 51.4%)
CIE-LABlab(28.81, 46.99, -13.67)
CIE-LCHlch(28.81, 48.94, 343.78°)
OKLaboklab(40.58% 0.1427 -0.0363)
OKLCHoklch(40.58% 0.147 345.7)
XYZxyz(10.5275, 5.7632, 10.2289)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A5A #1A7C3C
analogous
#6D1A7C #7C1A5A #7C1A29
triadic
#7C1A5A #5A7C1A #1A5A7C
tetradic
#7C1A5A #7C6D1A #1A7C3C #1A297C
square
#7C1A5A #7C6D1A #1A7C3C #1A297C
split-complementary
#7C1A5A #297C1A #1A7C6D
monochromatic
#190512 #490F35 #7C1A5A #AF257F #D63BA0

Accessibility & contrast

On white

9.76
#7C1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A5A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A5A#FFFFFF#000000##FFFFFF
##7C1A5A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#851838
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1a5a;
/* rgb */ color: rgb(124, 26, 90);
/* oklch */ color: oklch(40.6% 0.147 345.7);
Tailwind
colors: {
  custom: {
    50: '#a66288',
    500: '#7c1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a5a;
$custom-light: #a66288;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a5a",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 320.816,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.14719,
    "h": 345.7
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#7C1A5A
secondary
#42B068
accent
#E87A40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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