#7C1867#7C1867

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

Color values

HEX#7C1867
RGBrgb(124, 24, 103)
HSLhsl(313, 68%, 29%)
HSVhsv(313, 81%, 49%)
CMYKcmyk(0%, 80.6%, 16.9%, 51.4%)
CIE-LABlab(29.21, 49.45, -21.51)
CIE-LCHlch(29.21, 53.93, 336.49°)
OKLaboklab(41.07% 0.1467 -0.0584)
OKLCHoklch(41.07% 0.158 338.3)
XYZxyz(11.0873, 5.9187, 13.3878)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1867 #187C2D
analogous
#5F187C #7C1867 #7C1835
triadic
#7C1867 #677C18 #18677C
tetradic
#7C1867 #7C5F18 #187C2D #18357C
square
#7C1867 #7C5F18 #187C2D #18357C
split-complementary
#7C1867 #357C18 #187C5F
monochromatic
#1A0515 #490E3C #7C1867 #AF2292 #D836B6

Accessibility & contrast

On white

9.62
#7C1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1867
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1867#FFFFFF#000000##FFFFFF
##7C18671.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1867;
/* rgb */ color: rgb(124, 24, 103);
/* oklch */ color: oklch(41.1% 0.158 338.3);
Tailwind
colors: {
  custom: {
    50: '#a56292',
    500: '#7c1867',
    950: '#000000',
  },
}
SCSS
$custom: #7c1867;
$custom-light: #a56292;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1867",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 312.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.15788,
    "h": 338.3
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#7C1867
secondary
#3FB157
accent
#EA623D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1867

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

Preview Lab → · Contrast checker → · Palette generator →

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