#7C1B68#7C1B68

#7C1B68 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.155 H 337.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7C1B68
RGBrgb(124, 27, 104)
HSLhsl(312, 64%, 30%)
HSVhsv(312, 78%, 49%)
CMYKcmyk(0%, 78.2%, 16.1%, 51.4%)
CIE-LABlab(29.59, 48.66, -21.56)
CIE-LCHlch(29.59, 53.22, 336.10°)
OKLaboklab(41.36% 0.144 -0.0586)
OKLCHoklch(41.36% 0.155 337.9)
XYZxyz(11.2030, 6.0695, 13.6755)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B68 #1B7C2F
analogous
#601B7C #7C1B68 #7C1B38
triadic
#7C1B68 #687C1B #1B687C
tetradic
#7C1B68 #7C601B #1B7C2F #1B387C
square
#7C1B68 #7C601B #1B7C2F #1B387C
split-complementary
#7C1B68 #387C1B #1B7C60
monochromatic
#190515 #4A103E #7C1B68 #AE2692 #D53DB5

Accessibility & contrast

On white

9.49
#7C1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B68
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B68#FFFFFF#000000##FFFFFF
##7C1B681.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#832140
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1b68;
/* rgb */ color: rgb(124, 27, 104);
/* oklch */ color: oklch(41.4% 0.155 337.9);
Tailwind
colors: {
  custom: {
    50: '#a56393',
    500: '#7c1b68',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b68;
$custom-light: #a56393;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b68",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 312.371,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41361,
    "c": 0.15541,
    "h": 337.9
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#7C1B68
secondary
#43B059
accent
#E76341
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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