#7B1A5C#7B1A5C

#7B1A5C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 344.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7B1A5C
RGBrgb(123, 26, 92)
HSLhsl(319, 65%, 29%)
HSVhsv(319, 79%, 48%)
CMYKcmyk(0%, 78.9%, 25.2%, 51.8%)
CIE-LABlab(28.70, 46.99, -15.15)
CIE-LCHlch(28.70, 49.38, 342.13°)
OKLaboklab(40.5% 0.1421 -0.0404)
OKLCHoklch(40.5% 0.148 344.1)
XYZxyz(10.4700, 5.7236, 10.6765)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A5C #1A7B39
analogous
#6A1A7B #7B1A5C #7B1A2C
triadic
#7B1A5C #5C7B1A #1A5C7B
tetradic
#7B1A5C #7B6A1A #1A7B39 #1A2C7B
square
#7B1A5C #7B6A1A #1A7B39 #1A2C7B
split-complementary
#7B1A5C #2C7B1A #1A7B6A
monochromatic
#190513 #480F36 #7B1A5C #AE2582 #D53AA4

Accessibility & contrast

On white

9.79
#7B1A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B1A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A5C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A5C#FFFFFF#000000##FFFFFF
##7B1A5C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395E
Deuteranopia (green-blind)
#44495A
Tritanopia (blue-blind)
#831939
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1a5c;
/* rgb */ color: rgb(123, 26, 92);
/* oklch */ color: oklch(40.5% 0.148 344.1);
Tailwind
colors: {
  custom: {
    50: '#a5628a',
    500: '#7b1a5c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a5c;
$custom-light: #a5628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a5c",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 319.175,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.14773,
    "h": 344.1
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#7B1A5C
secondary
#42AF65
accent
#E87640
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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