#7B1A54#7B1A54

#7B1A54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 349.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7B1A54
RGBrgb(123, 26, 84)
HSLhsl(324, 65%, 29%)
HSVhsv(324, 79%, 48%)
CMYKcmyk(0%, 78.9%, 31.7%, 51.8%)
CIE-LABlab(28.36, 45.94, -10.42)
CIE-LCHlch(28.36, 47.10, 347.22°)
OKLaboklab(40.13% 0.1403 -0.0273)
OKLCHoklch(40.13% 0.143 349)
XYZxyz(10.1385, 5.5910, 8.9310)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A54 #1A7B41
analogous
#721A7B #7B1A54 #7B1A23
triadic
#7B1A54 #547B1A #1A547B
tetradic
#7B1A54 #7B721A #1A7B41 #1A237B
square
#7B1A54 #7B721A #1A7B41 #1A237B
split-complementary
#7B1A54 #237B1A #1A7B72
monochromatic
#190511 #480F31 #7B1A54 #AE2577 #D53A97

Accessibility & contrast

On white

9.92
#7B1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B1A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A54
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A54#FFFFFF#000000##FFFFFF
##7B1A541.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#841435
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a54;
/* rgb */ color: rgb(123, 26, 84);
/* oklch */ color: oklch(40.1% 0.143 349.0);
Tailwind
colors: {
  custom: {
    50: '#a56184',
    500: '#7b1a54',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a54;
$custom-light: #a56184;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a54",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 324.124,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.14294,
    "h": 349
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#7B1A54
secondary
#42AF6E
accent
#E88340
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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