#7A1B59#7A1B59

#7A1B59 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.144 H 345.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7A1B59
RGBrgb(122, 27, 89)
HSLhsl(321, 64%, 29%)
HSVhsv(321, 78%, 48%)
CMYKcmyk(0%, 77.9%, 27%, 52.2%)
CIE-LABlab(28.50, 45.98, -13.52)
CIE-LCHlch(28.50, 47.93, 343.62°)
OKLaboklab(40.27% 0.1395 -0.0359)
OKLCHoklch(40.27% 0.144 345.6)
XYZxyz(10.2216, 5.6438, 10.0003)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B59 #1B7A3C
analogous
#6C1B7A #7A1B59 #7A1B2A
triadic
#7A1B59 #597A1B #1B597A
tetradic
#7A1B59 #7A6C1B #1B7A3C #1B2A7A
square
#7A1B59 #7A6C1B #1B7A3C #1B2A7A
split-complementary
#7A1B59 #2A7A1B #1B7A6C
monochromatic
#190612 #481034 #7A1B59 #AC267E #D43C9F

Accessibility & contrast

On white

9.87
#7A1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B59
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B59#FFFFFF#000000##FFFFFF
##7A1B591.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#831937
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1b59;
/* rgb */ color: rgb(122, 27, 89);
/* oklch */ color: oklch(40.3% 0.144 345.6);
Tailwind
colors: {
  custom: {
    50: '#a46288',
    500: '#7a1b59',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b59;
$custom-light: #a46288;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b59",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 320.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.14401,
    "h": 345.6
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#7A1B59
secondary
#43AE68
accent
#E77B41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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