#7B1C52#7B1C52

#7B1C52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.140 H 350.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7B1C52
RGBrgb(123, 28, 82)
HSLhsl(326, 63%, 30%)
HSVhsv(326, 77%, 48%)
CMYKcmyk(0%, 77.2%, 33.3%, 51.8%)
CIE-LABlab(28.52, 45.00, -8.86)
CIE-LCHlch(28.52, 45.87, 348.87°)
OKLaboklab(40.22% 0.1376 -0.023)
OKLCHoklch(40.22% 0.14 350.5)
XYZxyz(10.1072, 5.6518, 8.5397)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C52 #1C7B45
analogous
#751C7B #7B1C52 #7B1C22
triadic
#7B1C52 #527B1C #1C527B
tetradic
#7B1C52 #7B751C #1C7B45 #1C227B
square
#7B1C52 #7B751C #1C7B45 #1C227B
split-complementary
#7B1C52 #227B1C #1C7B75
monochromatic
#190611 #491131 #7B1C52 #AD2773 #D33E93

Accessibility & contrast

On white

9.86
#7B1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C52
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C52#FFFFFF#000000##FFFFFF
##7B1C521.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#851534
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1c52;
/* rgb */ color: rgb(123, 28, 82);
/* oklch */ color: oklch(40.2% 0.140 350.5);
Tailwind
colors: {
  custom: {
    50: '#a56282',
    500: '#7b1c52',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c52;
$custom-light: #a56282;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c52",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 325.895,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.13955,
    "h": 350.5
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#7B1C52
secondary
#44AF72
accent
#E68942
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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