#7B1B52#7B1B52

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

Color values

HEX#7B1B52
RGBrgb(123, 27, 82)
HSLhsl(326, 64%, 29%)
HSVhsv(326, 78%, 48%)
CMYKcmyk(0%, 78%, 33.3%, 51.8%)
CIE-LABlab(28.39, 45.35, -9.04)
CIE-LCHlch(28.39, 46.24, 348.72°)
OKLaboklab(40.13% 0.1387 -0.0236)
OKLCHoklch(40.13% 0.141 350.4)
XYZxyz(10.0839, 5.6052, 8.5319)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B52 #1B7B44
analogous
#741B7B #7B1B52 #7B1B22
triadic
#7B1B52 #527B1B #1B527B
tetradic
#7B1B52 #7B741B #1B7B44 #1B227B
square
#7B1B52 #7B741B #1B7B44 #1B227B
split-complementary
#7B1B52 #227B1B #1B7B74
monochromatic
#190611 #491031 #7B1B52 #AD2673 #D43C93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1B52#FFFFFF#000000##FFFFFF
##7B1B521.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)
#2B3853
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#851434
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1b52;
/* rgb */ color: rgb(123, 27, 82);
/* oklch */ color: oklch(40.1% 0.141 350.4);
Tailwind
colors: {
  custom: {
    50: '#a56282',
    500: '#7b1b52',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b52;
$custom-light: #a56282;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b52",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 325.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.1407,
    "h": 350.4
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#7B1B52
secondary
#43AF71
accent
#E78841
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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