#7B1F52#7B1F52

#7B1F52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.136 H 350.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7B1F52
RGBrgb(123, 31, 82)
HSLhsl(327, 60%, 30%)
HSVhsv(327, 75%, 48%)
CMYKcmyk(0%, 74.8%, 33.3%, 51.8%)
CIE-LABlab(28.91, 43.91, -8.27)
CIE-LCHlch(28.91, 44.68, 349.33°)
OKLaboklab(40.51% 0.1342 -0.0215)
OKLCHoklch(40.51% 0.136 350.9)
XYZxyz(10.1819, 5.8013, 8.5646)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F52 #1F7B48
analogous
#761F7B #7B1F52 #7B1F24
triadic
#7B1F52 #527B1F #1F527B
tetradic
#7B1F52 #7B761F #1F7B48 #1F247B
square
#7B1F52 #7B761F #1F7B48 #1F247B
split-complementary
#7B1F52 #247B1F #1F7B76
monochromatic
#190611 #4A1331 #7B1F52 #AC2B73 #D04492

Accessibility & contrast

On white

9.72
#7B1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F52
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F52#FFFFFF#000000##FFFFFF
##7B1F521.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#841935
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f52;
/* rgb */ color: rgb(123, 31, 82);
/* oklch */ color: oklch(40.5% 0.136 350.9);
Tailwind
colors: {
  custom: {
    50: '#a56382',
    500: '#7b1f52',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f52;
$custom-light: #a56382;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f52",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 326.739,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.1359,
    "h": 350.9
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#7B1F52
secondary
#48AE75
accent
#E38B45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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