#7C1863#7C1863

#7C1863 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.155 H 340.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7C1863
RGBrgb(124, 24, 99)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 49%)
CMYKcmyk(0%, 80.6%, 20.2%, 51.4%)
CIE-LABlab(29.01, 48.87, -19.23)
CIE-LCHlch(29.01, 52.51, 338.52°)
OKLaboklab(40.86% 0.1462 -0.0519)
OKLCHoklch(40.86% 0.155 340.4)
XYZxyz(10.8913, 5.8403, 12.3557)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1863 #187C31
analogous
#63187C #7C1863 #7C1831
triadic
#7C1863 #637C18 #18637C
tetradic
#7C1863 #7C6318 #187C31 #18317C
square
#7C1863 #7C6318 #187C31 #18317C
split-complementary
#7C1863 #317C18 #187C63
monochromatic
#1A0514 #490E3A #7C1863 #AF228C #D836B0

Accessibility & contrast

On white

9.69
#7C1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1863
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1863#FFFFFF#000000##FFFFFF
##7C18631.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#841B3C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1863;
/* rgb */ color: rgb(124, 24, 99);
/* oklch */ color: oklch(40.9% 0.155 340.4);
Tailwind
colors: {
  custom: {
    50: '#a5618f',
    500: '#7c1863',
    950: '#000000',
  },
}
SCSS
$custom: #7c1863;
$custom-light: #a5618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1863",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 315,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.15512,
    "h": 340.4
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#7C1863
secondary
#3FB15C
accent
#EA693D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1863

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

Preview Lab → · Contrast checker → · Palette generator →

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