#7C1751#7C1751

#7C1751 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 350.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7C1751
RGBrgb(124, 23, 81)
HSLhsl(326, 69%, 29%)
HSVhsv(326, 81%, 49%)
CMYKcmyk(0%, 81.5%, 34.7%, 51.4%)
CIE-LABlab(28.10, 46.79, -8.81)
CIE-LCHlch(28.10, 47.61, 349.33°)
OKLaboklab(39.94% 0.1434 -0.0229)
OKLCHoklch(39.94% 0.145 350.9)
XYZxyz(10.1044, 5.4932, 8.3112)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1751 #177C42
analogous
#75177C #7C1751 #7C171F
triadic
#7C1751 #517C17 #17517C
tetradic
#7C1751 #7C7517 #177C42 #171F7C
square
#7C1751 #7C7517 #177C42 #171F7C
split-complementary
#7C1751 #1F7C17 #177C75
monochromatic
#1A0511 #480D2F #7C1751 #B02173 #D93493

Accessibility & contrast

On white

10.01
#7C1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1751
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1751#FFFFFF#000000##FFFFFF
##7C17511.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#860E32
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1751;
/* rgb */ color: rgb(124, 23, 81);
/* oklch */ color: oklch(39.9% 0.145 350.9);
Tailwind
colors: {
  custom: {
    50: '#a66081',
    500: '#7c1751',
    950: '#000000',
  },
}
SCSS
$custom: #7c1751;
$custom-light: #a66081;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1751",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 325.545,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.14525,
    "h": 350.9
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7C1751
secondary
#3EB16F
accent
#EC873C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1751

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

Preview Lab → · Contrast checker → · Palette generator →

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