#7A1C57#7A1C57

#7A1C57 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.142 H 346.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7A1C57
RGBrgb(122, 28, 87)
HSLhsl(322, 63%, 29%)
HSVhsv(322, 77%, 48%)
CMYKcmyk(0%, 77%, 28.7%, 52.2%)
CIE-LABlab(28.53, 45.37, -12.15)
CIE-LCHlch(28.53, 46.97, 345.01°)
OKLaboklab(40.26% 0.1379 -0.0321)
OKLCHoklch(40.26% 0.142 346.9)
XYZxyz(10.1621, 5.6573, 9.5718)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C57 #1C7A3F
analogous
#6E1C7A #7A1C57 #7A1C28
triadic
#7A1C57 #577A1C #1C577A
tetradic
#7A1C57 #7A6E1C #1C7A3F #1C287A
square
#7A1C57 #7A6E1C #1C7A3F #1C287A
split-complementary
#7A1C57 #287A1C #1C7A6E
monochromatic
#190612 #481134 #7A1C57 #AC277A #D33E9B

Accessibility & contrast

On white

9.85
#7A1C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C57
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C57#FFFFFF#000000##FFFFFF
##7A1C571.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#831937
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1c57;
/* rgb */ color: rgb(122, 28, 87);
/* oklch */ color: oklch(40.3% 0.142 346.9);
Tailwind
colors: {
  custom: {
    50: '#a46286',
    500: '#7a1c57',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c57;
$custom-light: #a46286;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c57",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 322.34,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.14162,
    "h": 346.9
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#7A1C57
secondary
#44AE6B
accent
#E67F42
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1C57

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

Preview Lab → · Contrast checker → · Palette generator →

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