#7B1752#7B1752

#7B1752 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 349.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7B1752
RGBrgb(123, 23, 82)
HSLhsl(325, 68%, 29%)
HSVhsv(325, 81%, 48%)
CMYKcmyk(0%, 81.3%, 33.3%, 51.8%)
CIE-LABlab(27.94, 46.64, -9.73)
CIE-LCHlch(27.94, 47.65, 348.21°)
OKLaboklab(39.8% 0.1428 -0.0254)
OKLCHoklch(39.8% 0.145 349.9)
XYZxyz(9.9983, 5.4341, 8.5034)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1752 #177B40
analogous
#72177B #7B1752 #7B1720
triadic
#7B1752 #527B17 #17527B
tetradic
#7B1752 #7B7217 #177B40 #17207B
square
#7B1752 #7B7217 #177B40 #17207B
split-complementary
#7B1752 #207B17 #177B72
monochromatic
#1A0511 #470D30 #7B1752 #AF2174 #D93395

Accessibility & contrast

On white

10.06
#7B1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1752
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1752#FFFFFF#000000##FFFFFF
##7B17521.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293754
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#850F33
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1752;
/* rgb */ color: rgb(123, 23, 82);
/* oklch */ color: oklch(39.8% 0.145 349.9);
Tailwind
colors: {
  custom: {
    50: '#a56082',
    500: '#7b1752',
    950: '#000000',
  },
}
SCSS
$custom: #7b1752;
$custom-light: #a56082;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1752",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 324.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.398,
    "c": 0.14504,
    "h": 349.9
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#7B1752
secondary
#3EB06D
accent
#EB843C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1752

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

Preview Lab → · Contrast checker → · Palette generator →

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