#7C1752#7C1752

#7C1752 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.146 H 350.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7C1752
RGBrgb(124, 23, 82)
HSLhsl(325, 69%, 29%)
HSVhsv(325, 81%, 49%)
CMYKcmyk(0%, 81.5%, 33.9%, 51.4%)
CIE-LABlab(28.14, 46.91, -9.41)
CIE-LCHlch(28.14, 47.85, 348.65°)
OKLaboklab(39.98% 0.1437 -0.0245)
OKLCHoklch(39.98% 0.146 350.3)
XYZxyz(10.1422, 5.5083, 8.5101)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1752 #177C41
analogous
#74177C #7C1752 #7C1720
triadic
#7C1752 #527C17 #17527C
tetradic
#7C1752 #7C7417 #177C41 #17207C
square
#7C1752 #7C7417 #177C41 #17207C
split-complementary
#7C1752 #207C17 #177C74
monochromatic
#1A0511 #480D30 #7C1752 #B02174 #D93495

Accessibility & contrast

On white

9.99
#7C1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1752
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1752#FFFFFF#000000##FFFFFF
##7C17521.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#860F33
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1752;
/* rgb */ color: rgb(124, 23, 82);
/* oklch */ color: oklch(40.0% 0.146 350.3);
Tailwind
colors: {
  custom: {
    50: '#a66082',
    500: '#7c1752',
    950: '#000000',
  },
}
SCSS
$custom: #7c1752;
$custom-light: #a66082;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1752",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 324.95,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.14579,
    "h": 350.3
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#7C1752
secondary
#3EB16E
accent
#EC853C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1752

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

Preview Lab → · Contrast checker → · Palette generator →

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