#7A1B4A#7A1B4A

#7A1B4A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.136 H 355.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7A1B4A
RGBrgb(122, 27, 74)
HSLhsl(330, 64%, 29%)
HSVhsv(330, 78%, 48%)
CMYKcmyk(0%, 77.9%, 39.3%, 52.2%)
CIE-LABlab(27.89, 44.11, -4.50)
CIE-LCHlch(27.89, 44.34, 354.17°)
OKLaboklab(39.63% 0.1354 -0.0113)
OKLCHoklch(39.63% 0.136 355.2)
XYZxyz(9.6546, 5.4170, 7.0144)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B4A #1B7A4B
analogous
#7A1B7A #7A1B4A #7A1C1B
triadic
#7A1B4A #4A7A1B #1B4A7A
tetradic
#7A1B4A #7A7A1B #1B7A4B #1C1B7A
square
#7A1B4A #7A7A1B #1B7A4B #1C1B7A
split-complementary
#7A1B4A #1B7A1C #1B7A7A
monochromatic
#19060F #48102C #7A1B4A #AC2668 #D43C87

Accessibility & contrast

On white

10.08
#7A1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A1B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B4A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B4A#FFFFFF#000000##FFFFFF
##7A1B4A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#841030
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1b4a;
/* rgb */ color: rgb(122, 27, 74);
/* oklch */ color: oklch(39.6% 0.136 355.2);
Tailwind
colors: {
  custom: {
    50: '#a5617c',
    500: '#7a1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b4a;
$custom-light: #a5617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b4a",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 330.316,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.1359,
    "h": 355.2
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#7A1B4A
secondary
#43AE79
accent
#E79541
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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