#7C1A5B#7C1A5B

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

Color values

HEX#7C1A5B
RGBrgb(124, 26, 91)
HSLhsl(320, 65%, 29%)
HSVhsv(320, 79%, 49%)
CMYKcmyk(0%, 79%, 26.6%, 51.4%)
CIE-LABlab(28.85, 47.12, -14.25)
CIE-LCHlch(28.85, 49.23, 343.17°)
OKLaboklab(40.63% 0.1429 -0.0379)
OKLCHoklch(40.63% 0.148 345.1)
XYZxyz(10.5704, 5.7804, 10.4546)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A5B #1A7C3B
analogous
#6C1A7C #7C1A5B #7C1A2A
triadic
#7C1A5B #5B7C1A #1A5B7C
tetradic
#7C1A5B #7C6C1A #1A7C3B #1A2A7C
square
#7C1A5B #7C6C1A #1A7C3B #1A2A7C
split-complementary
#7C1A5B #2A7C1A #1A7C6C
monochromatic
#190513 #490F36 #7C1A5B #AF2580 #D63BA2

Accessibility & contrast

On white

9.74
#7C1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A5B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A5B#FFFFFF#000000##FFFFFF
##7C1A5B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1a5b;
/* rgb */ color: rgb(124, 26, 91);
/* oklch */ color: oklch(40.6% 0.148 345.1);
Tailwind
colors: {
  custom: {
    50: '#a66289',
    500: '#7c1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a5b;
$custom-light: #a66289;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a5b",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 320.204,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.14781,
    "h": 345.1
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#7C1A5B
secondary
#42B067
accent
#E87840
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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