#7C1968#7C1968

#7C1968 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.158 H 337.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7C1968
RGBrgb(124, 25, 104)
HSLhsl(312, 66%, 29%)
HSVhsv(312, 80%, 49%)
CMYKcmyk(0%, 79.8%, 16.1%, 51.4%)
CIE-LABlab(29.36, 49.29, -21.91)
CIE-LCHlch(29.36, 53.94, 336.04°)
OKLaboklab(41.2% 0.1459 -0.0595)
OKLCHoklch(41.2% 0.158 337.8)
XYZxyz(11.1587, 5.9809, 13.6608)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1968 #197C2D
analogous
#5F197C #7C1968 #7C1937
triadic
#7C1968 #687C19 #19687C
tetradic
#7C1968 #7C5F19 #197C2D #19377C
square
#7C1968 #7C5F19 #197C2D #19377C
split-complementary
#7C1968 #377C19 #197C5F
monochromatic
#190515 #490F3D #7C1968 #AF2393 #D738B7

Accessibility & contrast

On white

9.56
#7C1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1968
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1968#FFFFFF#000000##FFFFFF
##7C19681.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#831F3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1968;
/* rgb */ color: rgb(124, 25, 104);
/* oklch */ color: oklch(41.2% 0.158 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56293',
    500: '#7c1968',
    950: '#000000',
  },
}
SCSS
$custom: #7c1968;
$custom-light: #a56293;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1968",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 312.121,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.412,
    "c": 0.15755,
    "h": 337.8
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#7C1968
secondary
#40B057
accent
#E9613E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1968

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

Preview Lab → · Contrast checker → · Palette generator →

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