#7C1768#7C1768

#7C1768 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.160 H 337.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7C1768
RGBrgb(124, 23, 104)
HSLhsl(312, 69%, 29%)
HSVhsv(312, 81%, 49%)
CMYKcmyk(0%, 81.5%, 16.1%, 51.4%)
CIE-LABlab(29.15, 49.89, -22.24)
CIE-LCHlch(29.15, 54.63, 335.98°)
OKLaboklab(41.05% 0.1477 -0.0605)
OKLCHoklch(41.05% 0.16 337.7)
XYZxyz(11.1175, 5.8984, 13.6470)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1768 #177C2B
analogous
#5E177C #7C1768 #7C1736
triadic
#7C1768 #687C17 #17687C
tetradic
#7C1768 #7C5E17 #177C2B #17367C
square
#7C1768 #7C5E17 #177C2B #17367C
split-complementary
#7C1768 #367C17 #177C5E
monochromatic
#1A0516 #480D3D #7C1768 #B02193 #D934B9

Accessibility & contrast

On white

9.64
#7C1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1768
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1768#FFFFFF#000000##FFFFFF
##7C17681.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#831D3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1768;
/* rgb */ color: rgb(124, 23, 104);
/* oklch */ color: oklch(41.0% 0.160 337.7);
Tailwind
colors: {
  custom: {
    50: '#a56193',
    500: '#7c1768',
    950: '#000000',
  },
}
SCSS
$custom: #7c1768;
$custom-light: #a56193;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1768",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 311.881,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.15957,
    "h": 337.7
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7C1768
secondary
#3EB155
accent
#EC5F3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1768

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

Preview Lab → · Contrast checker → · Palette generator →

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