#7C1966#7C1966

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

Color values

HEX#7C1966
RGBrgb(124, 25, 102)
HSLhsl(313, 66%, 29%)
HSVhsv(313, 80%, 49%)
CMYKcmyk(0%, 79.8%, 17.7%, 51.4%)
CIE-LABlab(29.26, 49.00, -20.78)
CIE-LCHlch(29.26, 53.22, 337.02°)
OKLaboklab(41.09% 0.1456 -0.0563)
OKLCHoklch(41.09% 0.156 338.9)
XYZxyz(11.0584, 5.9407, 13.1321)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1966 #197C2F
analogous
#61197C #7C1966 #7C1935
triadic
#7C1966 #667C19 #19667C
tetradic
#7C1966 #7C6119 #197C2F #19357C
square
#7C1966 #7C6119 #197C2F #19357C
split-complementary
#7C1966 #357C19 #197C61
monochromatic
#190515 #490F3C #7C1966 #AF2390 #D738B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1966#FFFFFF#000000##FFFFFF
##7C19661.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)
#1F3B68
Deuteranopia (green-blind)
#414A64
Tritanopia (blue-blind)
#831E3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1966;
/* rgb */ color: rgb(124, 25, 102);
/* oklch */ color: oklch(41.1% 0.156 338.9);
Tailwind
colors: {
  custom: {
    50: '#a56292',
    500: '#7c1966',
    950: '#000000',
  },
}
SCSS
$custom: #7c1966;
$custom-light: #a56292;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1966",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 313.333,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.15615,
    "h": 338.9
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#7C1966
secondary
#40B059
accent
#E9643E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7C1966

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

Preview Lab → · Contrast checker → · Palette generator →

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