#7A1B4E#7A1B4E

#7A1B4E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.138 H 352.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7A1B4E
RGBrgb(122, 27, 78)
HSLhsl(328, 64%, 29%)
HSVhsv(328, 78%, 48%)
CMYKcmyk(0%, 77.9%, 36.1%, 52.2%)
CIE-LABlab(28.04, 44.58, -6.94)
CIE-LCHlch(28.04, 45.11, 351.15°)
OKLaboklab(39.79% 0.1367 -0.0178)
OKLCHoklch(39.79% 0.138 352.6)
XYZxyz(9.7937, 5.4727, 7.7468)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B4E #1B7A47
analogous
#771B7A #7A1B4E #7A1B1F
triadic
#7A1B4E #4E7A1B #1B4E7A
tetradic
#7A1B4E #7A771B #1B7A47 #1B1F7A
square
#7A1B4E #7A771B #1B7A47 #1B1F7A
split-complementary
#7A1B4E #1F7A1B #1B7A77
monochromatic
#190610 #48102E #7A1B4E #AC266E #D43C8D

Accessibility & contrast

On white

10.03
#7A1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B4E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B4E#FFFFFF#000000##FFFFFF
##7A1B4E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#841232
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1b4e;
/* rgb */ color: rgb(122, 27, 78);
/* oklch */ color: oklch(39.8% 0.138 352.6);
Tailwind
colors: {
  custom: {
    50: '#a4617f',
    500: '#7a1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b4e;
$custom-light: #a4617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b4e",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 327.789,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.13781,
    "h": 352.6
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7A1B4E
secondary
#43AE74
accent
#E78E41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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