#7B2159#7B2159

#7B2159 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.137 H 346.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7B2159
RGBrgb(123, 33, 89)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 73%, 48%)
CMYKcmyk(0%, 73.2%, 27.6%, 51.8%)
CIE-LABlab(29.47, 44.06, -12.02)
CIE-LCHlch(29.47, 45.67, 344.74°)
OKLaboklab(41.01% 0.1336 -0.0318)
OKLCHoklch(41.01% 0.137 346.6)
XYZxyz(10.5159, 6.0211, 10.0576)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2159 #217B43
analogous
#70217B #7B2159 #7B212C
triadic
#7B2159 #597B21 #21597B
tetradic
#7B2159 #7B7021 #217B43 #212C7B
square
#7B2159 #7B7021 #217B43 #212C7B
split-complementary
#7B2159 #2C7B21 #217B70
monochromatic
#1A0713 #4B1436 #7B2159 #AB2E7C #CE489C

Accessibility & contrast

On white

9.53
#7B2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2159
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2159#FFFFFF#000000##FFFFFF
##7B21591.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#841F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2159;
/* rgb */ color: rgb(123, 33, 89);
/* oklch */ color: oklch(41.0% 0.137 346.6);
Tailwind
colors: {
  custom: {
    50: '#a56588',
    500: '#7b2159',
    950: '#000000',
  },
}
SCSS
$custom: #7b2159;
$custom-light: #a56588;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2159",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 322.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.13737,
    "h": 346.6
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#7B2159
secondary
#4AAE70
accent
#E18147
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2159

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

Preview Lab → · Contrast checker → · Palette generator →

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