#7C1868#7C1868

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

Color values

HEX#7C1868
RGBrgb(124, 24, 104)
HSLhsl(312, 68%, 29%)
HSVhsv(312, 81%, 49%)
CMYKcmyk(0%, 80.6%, 16.1%, 51.4%)
CIE-LABlab(29.26, 49.60, -22.08)
CIE-LCHlch(29.26, 54.29, 336.01°)
OKLaboklab(41.12% 0.1468 -0.06)
OKLCHoklch(41.12% 0.159 337.8)
XYZxyz(11.1378, 5.9389, 13.6538)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1868 #187C2C
analogous
#5E187C #7C1868 #7C1836
triadic
#7C1868 #687C18 #18687C
tetradic
#7C1868 #7C5E18 #187C2C #18367C
square
#7C1868 #7C5E18 #187C2C #18367C
split-complementary
#7C1868 #367C18 #187C5E
monochromatic
#1A0516 #490E3D #7C1868 #AF2293 #D836B8

Accessibility & contrast

On white

9.60
#7C1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1868
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1868#FFFFFF#000000##FFFFFF
##7C18681.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#831E3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1868;
/* rgb */ color: rgb(124, 24, 104);
/* oklch */ color: oklch(41.1% 0.159 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56293',
    500: '#7c1868',
    950: '#000000',
  },
}
SCSS
$custom: #7c1868;
$custom-light: #a56293;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1868",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 312,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.15857,
    "h": 337.8
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#7C1868
secondary
#3FB156
accent
#EA603D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1868

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

Preview Lab → · Contrast checker → · Palette generator →

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