#7C1860#7C1860

#7C1860 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.153 H 342.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7C1860
RGBrgb(124, 24, 96)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 49%)
CMYKcmyk(0%, 80.6%, 22.6%, 51.4%)
CIE-LABlab(28.86, 48.44, -17.50)
CIE-LCHlch(28.86, 51.51, 340.13°)
OKLaboklab(40.71% 0.1457 -0.047)
OKLCHoklch(40.71% 0.153 342.1)
XYZxyz(10.7505, 5.7840, 11.6143)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1860 #187C34
analogous
#66187C #7C1860 #7C182E
triadic
#7C1860 #607C18 #18607C
tetradic
#7C1860 #7C6618 #187C34 #182E7C
square
#7C1860 #7C6618 #187C34 #182E7C
split-complementary
#7C1860 #2E7C18 #187C66
monochromatic
#1A0514 #490E38 #7C1860 #AF2288 #D836AB

Accessibility & contrast

On white

9.74
#7C1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1860
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1860#FFFFFF#000000##FFFFFF
##7C18601.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A62
Deuteranopia (green-blind)
#424A5E
Tritanopia (blue-blind)
#84193A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1860;
/* rgb */ color: rgb(124, 24, 96);
/* oklch */ color: oklch(40.7% 0.153 342.1);
Tailwind
colors: {
  custom: {
    50: '#a6618d',
    500: '#7c1860',
    950: '#000000',
  },
}
SCSS
$custom: #7c1860;
$custom-light: #a6618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1860",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 316.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.15312,
    "h": 342.1
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#7C1860
secondary
#3FB15F
accent
#EA6E3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1860

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

Preview Lab → · Contrast checker → · Palette generator →

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