#7B1E52#7B1E52

#7B1E52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.137 H 350.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B1E52
RGBrgb(123, 30, 82)
HSLhsl(326, 61%, 30%)
HSVhsv(326, 76%, 48%)
CMYKcmyk(0%, 75.6%, 33.3%, 51.8%)
CIE-LABlab(28.77, 44.28, -8.47)
CIE-LCHlch(28.77, 45.08, 349.17°)
OKLaboklab(40.41% 0.1354 -0.022)
OKLCHoklch(40.41% 0.137 350.8)
XYZxyz(10.1562, 5.7499, 8.5560)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E52 #1E7B47
analogous
#761E7B #7B1E52 #7B1E23
triadic
#7B1E52 #527B1E #1E527B
tetradic
#7B1E52 #7B761E #1E7B47 #1E237B
square
#7B1E52 #7B761E #1E7B47 #1E237B
split-complementary
#7B1E52 #237B1E #1E7B76
monochromatic
#190610 #4A1231 #7B1E52 #AC2A73 #D14292

Accessibility & contrast

On white

9.77
#7B1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E52
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E52#FFFFFF#000000##FFFFFF
##7B1E521.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1e52;
/* rgb */ color: rgb(123, 30, 82);
/* oklch */ color: oklch(40.4% 0.137 350.8);
Tailwind
colors: {
  custom: {
    50: '#a56382',
    500: '#7b1e52',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e52;
$custom-light: #a56382;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e52",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 326.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.13714,
    "h": 350.8
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#7B1E52
secondary
#46AE74
accent
#E48A44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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