#7C1264#7C1264

#7C1264 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.5% C 0.161 H 339.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7C1264
RGBrgb(124, 18, 100)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 85%, 49%)
CMYKcmyk(0%, 85.5%, 19.4%, 51.4%)
CIE-LABlab(28.48, 50.66, -20.70)
CIE-LCHlch(28.48, 54.72, 337.78°)
OKLaboklab(40.5% 0.1513 -0.056)
OKLCHoklch(40.5% 0.161 339.7)
XYZxyz(10.8291, 5.6389, 12.5722)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1264 #127C2A
analogous
#5F127C #7C1264 #7C122F
triadic
#7C1264 #647C12 #12647C
tetradic
#7C1264 #7C5F12 #127C2A #122F7C
square
#7C1264 #7C5F12 #127C2A #122F7C
split-complementary
#7C1264 #2F7C12 #127C5F
monochromatic
#1B0416 #470A39 #7C1264 #B11A8F #E029B6

Accessibility & contrast

On white

9.87
#7C1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1264
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1264#FFFFFF#000000##FFFFFF
##7C12641.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3966
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#84173B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1264;
/* rgb */ color: rgb(124, 18, 100);
/* oklch */ color: oklch(40.5% 0.161 339.7);
Tailwind
colors: {
  custom: {
    50: '#a66090',
    500: '#7c1264',
    950: '#000000',
  },
}
SCSS
$custom: #7c1264;
$custom-light: #a66090;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1264",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 313.585,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.405,
    "c": 0.16136,
    "h": 339.7
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7C1264
secondary
#38B253
accent
#F16137
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1264

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

Preview Lab → · Contrast checker → · Palette generator →

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