#7C1767#7C1767

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

Color values

HEX#7C1767
RGBrgb(124, 23, 103)
HSLhsl(312, 69%, 29%)
HSVhsv(312, 81%, 49%)
CMYKcmyk(0%, 81.5%, 16.9%, 51.4%)
CIE-LABlab(29.10, 49.75, -21.67)
CIE-LCHlch(29.10, 54.26, 336.46°)
OKLaboklab(41% 0.1476 -0.0588)
OKLCHoklch(41% 0.159 338.3)
XYZxyz(11.0670, 5.8782, 13.3811)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1767 #177C2C
analogous
#5F177C #7C1767 #7C1735
triadic
#7C1767 #677C17 #17677C
tetradic
#7C1767 #7C5F17 #177C2C #17357C
square
#7C1767 #7C5F17 #177C2C #17357C
split-complementary
#7C1767 #357C17 #177C5F
monochromatic
#1A0515 #480D3C #7C1767 #B02192 #D934B7

Accessibility & contrast

On white

9.65
#7C1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1767
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1767#FFFFFF#000000##FFFFFF
##7C17671.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B69
Deuteranopia (green-blind)
#404A65
Tritanopia (blue-blind)
#831D3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1767;
/* rgb */ color: rgb(124, 23, 103);
/* oklch */ color: oklch(41.0% 0.159 338.3);
Tailwind
colors: {
  custom: {
    50: '#a56192',
    500: '#7c1767',
    950: '#000000',
  },
}
SCSS
$custom: #7c1767;
$custom-light: #a56192;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1767",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 312.475,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.15887,
    "h": 338.3
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#7C1767
secondary
#3EB156
accent
#EC613C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1767

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

Preview Lab → · Contrast checker → · Palette generator →

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