#7A1C5F#7A1C5F

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

Color values

HEX#7A1C5F
RGBrgb(122, 28, 95)
HSLhsl(317, 63%, 29%)
HSVhsv(317, 77%, 48%)
CMYKcmyk(0%, 77%, 22.1%, 52.2%)
CIE-LABlab(28.89, 46.48, -16.84)
CIE-LCHlch(28.89, 49.43, 340.08°)
OKLaboklab(40.64% 0.1396 -0.0452)
OKLCHoklch(40.64% 0.147 342.1)
XYZxyz(10.5072, 5.7954, 11.3895)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C5F #1C7A37
analogous
#661C7A #7A1C5F #7A1C30
triadic
#7A1C5F #5F7A1C #1C5F7A
tetradic
#7A1C5F #7A661C #1C7A37 #1C307A
square
#7A1C5F #7A661C #1C7A37 #1C307A
split-complementary
#7A1C5F #307A1C #1C7A66
monochromatic
#190613 #481138 #7A1C5F #AC2786 #D33EA8

Accessibility & contrast

On white

9.73
#7A1C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C5F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C5F#FFFFFF#000000##FFFFFF
##7A1C5F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#821D3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1c5f;
/* rgb */ color: rgb(122, 28, 95);
/* oklch */ color: oklch(40.6% 0.147 342.1);
Tailwind
colors: {
  custom: {
    50: '#a4628c',
    500: '#7a1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c5f;
$custom-light: #a4628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c5f",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 317.234,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.14672,
    "h": 342.1
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#7A1C5F
secondary
#44AE62
accent
#E67142
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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