#7B1551#7B1551

#7B1551 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.146 H 350.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7B1551
RGBrgb(123, 21, 81)
HSLhsl(325, 71%, 28%)
HSVhsv(325, 83%, 48%)
CMYKcmyk(0%, 82.9%, 34.1%, 51.8%)
CIE-LABlab(27.69, 47.11, -9.45)
CIE-LCHlch(27.69, 48.05, 348.66°)
OKLaboklab(39.61% 0.1444 -0.0246)
OKLCHoklch(39.61% 0.146 350.3)
XYZxyz(9.9223, 5.3426, 8.2917)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1551 #157B3F
analogous
#72157B #7B1551 #7B151E
triadic
#7B1551 #517B15 #15517B
tetradic
#7B1551 #7B7215 #157B3F #151E7B
square
#7B1551 #7B7215 #157B3F #151E7B
split-complementary
#7B1551 #1E7B15 #157B72
monochromatic
#1A0411 #470C2F #7B1551 #AF1E73 #DB2F94

Accessibility & contrast

On white

10.15
#7B1551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1551
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1551#FFFFFF#000000##FFFFFF
##7B15511.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283652
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#850C31
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1551;
/* rgb */ color: rgb(123, 21, 81);
/* oklch */ color: oklch(39.6% 0.146 350.3);
Tailwind
colors: {
  custom: {
    50: '#a55f81',
    500: '#7b1551',
    950: '#000000',
  },
}
SCSS
$custom: #7b1551;
$custom-light: #a55f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1551",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 324.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.14649,
    "h": 350.3
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#7B1551
secondary
#3BB06C
accent
#EE843A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1551

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

Preview Lab → · Contrast checker → · Palette generator →

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