#7B1559#7B1559

#7B1559 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.151 H 345.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7B1559
RGBrgb(123, 21, 89)
HSLhsl(320, 71%, 28%)
HSVhsv(320, 83%, 48%)
CMYKcmyk(0%, 82.9%, 27.6%, 51.8%)
CIE-LABlab(28.03, 48.12, -14.21)
CIE-LCHlch(28.03, 50.17, 343.54°)
OKLaboklab(39.97% 0.1462 -0.0378)
OKLCHoklch(39.97% 0.151 345.5)
XYZxyz(10.2402, 5.4697, 9.9657)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1559 #157B37
analogous
#6A157B #7B1559 #7B1526
triadic
#7B1559 #597B15 #15597B
tetradic
#7B1559 #7B6A15 #157B37 #15267B
square
#7B1559 #7B6A15 #157B37 #15267B
split-complementary
#7B1559 #267B15 #157B6A
monochromatic
#1A0413 #470C33 #7B1559 #AF1E7F #DB2FA2

Accessibility & contrast

On white

10.03
#7B1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1559
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1559#FFFFFF#000000##FFFFFF
##7B15591.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375B
Deuteranopia (green-blind)
#434857
Tritanopia (blue-blind)
#841236
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1559;
/* rgb */ color: rgb(123, 21, 89);
/* oklch */ color: oklch(40.0% 0.151 345.5);
Tailwind
colors: {
  custom: {
    50: '#a56088',
    500: '#7b1559',
    950: '#000000',
  },
}
SCSS
$custom: #7b1559;
$custom-light: #a56088;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1559",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 320,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.15103,
    "h": 345.5
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#7B1559
secondary
#3BB062
accent
#EE763A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1559

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

Preview Lab → · Contrast checker → · Palette generator →

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