#7B1552#7B1552

#7B1552 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.147 H 349.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7B1552
RGBrgb(123, 21, 82)
HSLhsl(324, 71%, 28%)
HSVhsv(324, 83%, 48%)
CMYKcmyk(0%, 82.9%, 33.3%, 51.8%)
CIE-LABlab(27.73, 47.23, -10.05)
CIE-LCHlch(27.73, 48.29, 347.99°)
OKLaboklab(39.65% 0.1447 -0.0263)
OKLCHoklch(39.65% 0.147 349.7)
XYZxyz(9.9601, 5.3577, 8.4906)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1552 #157B3E
analogous
#71157B #7B1552 #7B151F
triadic
#7B1552 #527B15 #15527B
tetradic
#7B1552 #7B7115 #157B3E #151F7B
square
#7B1552 #7B7115 #157B3E #151F7B
split-complementary
#7B1552 #1F7B15 #157B71
monochromatic
#1A0411 #470C2F #7B1552 #AF1E75 #DB2F96

Accessibility & contrast

On white

10.14
#7B1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1552
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1552#FFFFFF#000000##FFFFFF
##7B15521.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283654
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#850D32
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1552;
/* rgb */ color: rgb(123, 21, 82);
/* oklch */ color: oklch(39.6% 0.147 349.7);
Tailwind
colors: {
  custom: {
    50: '#a56082',
    500: '#7b1552',
    950: '#000000',
  },
}
SCSS
$custom: #7b1552;
$custom-light: #a56082;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1552",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 324.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.14703,
    "h": 349.7
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#7B1552
secondary
#3BB06A
accent
#EE823A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1552

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

Preview Lab → · Contrast checker → · Palette generator →

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