#7C1864#7C1864

#7C1864 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.156 H 339.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C1864
RGBrgb(124, 24, 100)
HSLhsl(314, 68%, 29%)
HSVhsv(314, 81%, 49%)
CMYKcmyk(0%, 80.6%, 19.4%, 51.4%)
CIE-LABlab(29.06, 49.01, -19.80)
CIE-LCHlch(29.06, 52.86, 338.00°)
OKLaboklab(40.91% 0.1463 -0.0535)
OKLCHoklch(40.91% 0.156 339.9)
XYZxyz(10.9394, 5.8596, 12.6090)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1864 #187C30
analogous
#62187C #7C1864 #7C1832
triadic
#7C1864 #647C18 #18647C
tetradic
#7C1864 #7C6218 #187C30 #18327C
square
#7C1864 #7C6218 #187C30 #18327C
split-complementary
#7C1864 #327C18 #187C62
monochromatic
#1A0515 #490E3B #7C1864 #AF228D #D836B1

Accessibility & contrast

On white

9.67
#7C1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1864
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1864#FFFFFF#000000##FFFFFF
##7C18641.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A66
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#841C3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1864;
/* rgb */ color: rgb(124, 24, 100);
/* oklch */ color: oklch(40.9% 0.156 339.9);
Tailwind
colors: {
  custom: {
    50: '#a56190',
    500: '#7c1864',
    950: '#000000',
  },
}
SCSS
$custom: #7c1864;
$custom-light: #a56190;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1864",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 314.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.1558,
    "h": 339.9
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#7C1864
secondary
#3FB15A
accent
#EA673D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1864

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

Preview Lab → · Contrast checker → · Palette generator →

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