#7A1B52#7A1B52

#7A1B52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.140 H 349.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7A1B52
RGBrgb(122, 27, 82)
HSLhsl(325, 64%, 29%)
HSVhsv(325, 78%, 48%)
CMYKcmyk(0%, 77.9%, 32.8%, 52.2%)
CIE-LABlab(28.20, 45.07, -9.36)
CIE-LCHlch(28.20, 46.03, 348.27°)
OKLaboklab(39.95% 0.1378 -0.0244)
OKLCHoklch(39.95% 0.14 349.9)
XYZxyz(9.9415, 5.5318, 8.5252)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B52 #1B7A43
analogous
#731B7A #7A1B52 #7A1B23
triadic
#7A1B52 #527A1B #1B527A
tetradic
#7A1B52 #7A731B #1B7A43 #1B237A
square
#7A1B52 #7A731B #1B7A43 #1B237A
split-complementary
#7A1B52 #237A1B #1B7A73
monochromatic
#190611 #481030 #7A1B52 #AC2674 #D43C94

Accessibility & contrast

On white

9.97
#7A1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B52
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B52#FFFFFF#000000##FFFFFF
##7A1B521.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#831534
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1b52;
/* rgb */ color: rgb(122, 27, 82);
/* oklch */ color: oklch(40.0% 0.140 349.9);
Tailwind
colors: {
  custom: {
    50: '#a46282',
    500: '#7a1b52',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b52;
$custom-light: #a46282;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b52",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 325.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.13992,
    "h": 349.9
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#7A1B52
secondary
#43AE70
accent
#E78741
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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