#7B1A5E#7B1A5E

#7B1A5E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 342.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7B1A5E
RGBrgb(123, 26, 94)
HSLhsl(318, 65%, 29%)
HSVhsv(318, 79%, 48%)
CMYKcmyk(0%, 78.9%, 23.6%, 51.8%)
CIE-LABlab(28.80, 47.27, -16.32)
CIE-LCHlch(28.80, 50.01, 340.96°)
OKLaboklab(40.6% 0.1425 -0.0437)
OKLCHoklch(40.6% 0.149 342.9)
XYZxyz(10.5585, 5.7590, 11.1431)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A5E #1A7B37
analogous
#681A7B #7B1A5E #7B1A2E
triadic
#7B1A5E #5E7B1A #1A5E7B
tetradic
#7B1A5E #7B681A #1A7B37 #1A2E7B
square
#7B1A5E #7B681A #1A7B37 #1A2E7B
split-complementary
#7B1A5E #2E7B1A #1A7B68
monochromatic
#190513 #480F37 #7B1A5E #AE2585 #D53AA7

Accessibility & contrast

On white

9.76
#7B1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A5E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A5E#FFFFFF#000000##FFFFFF
##7B1A5E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#831A3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1a5e;
/* rgb */ color: rgb(123, 26, 94);
/* oklch */ color: oklch(40.6% 0.149 342.9);
Tailwind
colors: {
  custom: {
    50: '#a5628b',
    500: '#7b1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a5e;
$custom-light: #a5628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a5e",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 317.938,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.14901,
    "h": 342.9
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#7B1A5E
secondary
#42AF62
accent
#E87240
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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