#7A1C5B#7A1C5B

#7A1C5B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.144 H 344.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A1C5B
RGBrgb(122, 28, 91)
HSLhsl(320, 63%, 29%)
HSVhsv(320, 77%, 48%)
CMYKcmyk(0%, 77%, 25.4%, 52.2%)
CIE-LABlab(28.71, 45.91, -14.51)
CIE-LCHlch(28.71, 48.15, 342.46°)
OKLaboklab(40.45% 0.1388 -0.0387)
OKLCHoklch(40.45% 0.144 344.4)
XYZxyz(10.3300, 5.7245, 10.4564)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C5B #1C7A3B
analogous
#6A1C7A #7A1C5B #7A1C2C
triadic
#7A1C5B #5B7A1C #1C5B7A
tetradic
#7A1C5B #7A6A1C #1C7A3B #1C2C7A
square
#7A1C5B #7A6A1C #1C7A3B #1C2C7A
split-complementary
#7A1C5B #2C7A1C #1C7A6A
monochromatic
#190613 #481136 #7A1C5B #AC2780 #D33EA2

Accessibility & contrast

On white

9.79
#7A1C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C5B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C5B#FFFFFF#000000##FFFFFF
##7A1C5B1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#821B39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1c5b;
/* rgb */ color: rgb(122, 28, 91);
/* oklch */ color: oklch(40.5% 0.144 344.4);
Tailwind
colors: {
  custom: {
    50: '#a46289',
    500: '#7a1c5b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c5b;
$custom-light: #a46289;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c5b",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 319.787,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.1441,
    "h": 344.4
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#7A1C5B
secondary
#44AE67
accent
#E67842
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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