#7B1B56#7B1B56

#7B1B56 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.143 H 347.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B1B56
RGBrgb(123, 27, 86)
HSLhsl(323, 64%, 29%)
HSVhsv(323, 78%, 48%)
CMYKcmyk(0%, 78%, 30.1%, 51.8%)
CIE-LABlab(28.56, 45.86, -11.43)
CIE-LCHlch(28.56, 47.26, 346.00°)
OKLaboklab(40.31% 0.1397 -0.0301)
OKLCHoklch(40.31% 0.143 347.8)
XYZxyz(10.2405, 5.6679, 9.3570)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B56 #1B7B40
analogous
#701B7B #7B1B56 #7B1B26
triadic
#7B1B56 #567B1B #1B567B
tetradic
#7B1B56 #7B701B #1B7B40 #1B267B
square
#7B1B56 #7B701B #1B7B40 #1B267B
split-complementary
#7B1B56 #267B1B #1B7B70
monochromatic
#190612 #491033 #7B1B56 #AD2679 #D43C9A

Accessibility & contrast

On white

9.84
#7B1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B56
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B56#FFFFFF#000000##FFFFFF
##7B1B561.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#841736
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1b56;
/* rgb */ color: rgb(123, 27, 86);
/* oklch */ color: oklch(40.3% 0.143 347.8);
Tailwind
colors: {
  custom: {
    50: '#a56285',
    500: '#7b1b56',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b56;
$custom-light: #a56285;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b56",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 323.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.14295,
    "h": 347.8
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7B1B56
secondary
#43AF6C
accent
#E78141
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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