#7B1A4E#7B1A4E

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

Color values

HEX#7B1A4E
RGBrgb(123, 26, 78)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 48%)
CMYKcmyk(0%, 78.9%, 36.6%, 51.8%)
CIE-LABlab(28.12, 45.20, -6.81)
CIE-LCHlch(28.12, 45.71, 351.44°)
OKLaboklab(39.88% 0.1387 -0.0175)
OKLCHoklch(39.88% 0.14 352.8)
XYZxyz(9.9135, 5.5010, 7.7460)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4E #1A7B47
analogous
#781A7B #7B1A4E #7B1A1E
triadic
#7B1A4E #4E7B1A #1A4E7B
tetradic
#7B1A4E #7B781A #1A7B47 #1A1E7B
square
#7B1A4E #7B781A #1A7B47 #1A1E7B
split-complementary
#7B1A4E #1E7B1A #1A7B78
monochromatic
#190510 #480F2E #7B1A4E #AE256E #D53A8D

Accessibility & contrast

On white

10.00
#7B1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A4E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4E#FFFFFF#000000##FFFFFF
##7B1A4E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1a4e;
/* rgb */ color: rgb(123, 26, 78);
/* oklch */ color: oklch(39.9% 0.140 352.8);
Tailwind
colors: {
  custom: {
    50: '#a5617f',
    500: '#7b1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4e;
$custom-light: #a5617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4e",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 327.835,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.13976,
    "h": 352.8
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#7B1A4E
secondary
#42AF74
accent
#E88E40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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