#7A1B53#7A1B53

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

Color values

HEX#7A1B53
RGBrgb(122, 27, 83)
HSLhsl(325, 64%, 29%)
HSVhsv(325, 78%, 48%)
CMYKcmyk(0%, 77.9%, 32%, 52.2%)
CIE-LABlab(28.24, 45.19, -9.96)
CIE-LCHlch(28.24, 46.28, 347.58°)
OKLaboklab(40% 0.138 -0.0261)
OKLCHoklch(40% 0.14 349.3)
XYZxyz(9.9798, 5.5471, 8.7271)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B53 #1B7A42
analogous
#721B7A #7A1B53 #7A1B23
triadic
#7A1B53 #537A1B #1B537A
tetradic
#7A1B53 #7A721B #1B7A42 #1B237A
square
#7A1B53 #7A721B #1B7A42 #1B237A
split-complementary
#7A1B53 #237A1B #1B7A72
monochromatic
#190611 #481031 #7A1B53 #AC2675 #D43C95

Accessibility & contrast

On white

9.96
#7A1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B53
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B53#FFFFFF#000000##FFFFFF
##7A1B531.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1b53;
/* rgb */ color: rgb(122, 27, 83);
/* oklch */ color: oklch(40.0% 0.140 349.3);
Tailwind
colors: {
  custom: {
    50: '#a46283',
    500: '#7a1b53',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b53;
$custom-light: #a46283;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b53",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 324.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.14047,
    "h": 349.3
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7A1B53
secondary
#43AE6F
accent
#E78541
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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