#7B1561#7B1561

#7B1561 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 341.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7B1561
RGBrgb(123, 21, 97)
HSLhsl(315, 71%, 28%)
HSVhsv(315, 83%, 48%)
CMYKcmyk(0%, 82.9%, 21.1%, 51.8%)
CIE-LABlab(28.41, 49.21, -18.87)
CIE-LCHlch(28.41, 52.70, 339.02°)
OKLaboklab(40.36% 0.1476 -0.0509)
OKLCHoklch(40.36% 0.156 341)
XYZxyz(10.5946, 5.6115, 11.8321)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1561 #157B2F
analogous
#62157B #7B1561 #7B152E
triadic
#7B1561 #617B15 #15617B
tetradic
#7B1561 #7B6215 #157B2F #152E7B
square
#7B1561 #7B6215 #157B2F #152E7B
split-complementary
#7B1561 #2E7B15 #157B62
monochromatic
#1A0415 #470C38 #7B1561 #AF1E8A #DB2FAF

Accessibility & contrast

On white

9.90
#7B1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1561
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1561#FFFFFF#000000##FFFFFF
##7B15611.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3963
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#83183A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1561;
/* rgb */ color: rgb(123, 21, 97);
/* oklch */ color: oklch(40.4% 0.156 341.0);
Tailwind
colors: {
  custom: {
    50: '#a5608e',
    500: '#7b1561',
    950: '#000000',
  },
}
SCSS
$custom: #7b1561;
$custom-light: #a5608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1561",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 315.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.15611,
    "h": 341
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#7B1561
secondary
#3BB059
accent
#EE683A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B1561

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

Preview Lab → · Contrast checker → · Palette generator →

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