#7C1167#7C1167

#7C1167 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 338.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7C1167
RGBrgb(124, 17, 103)
HSLhsl(312, 76%, 28%)
HSVhsv(312, 86%, 49%)
CMYKcmyk(0%, 86.3%, 16.9%, 51.4%)
CIE-LABlab(28.55, 51.33, -22.53)
CIE-LCHlch(28.55, 56.06, 336.30°)
OKLaboklab(40.6% 0.1524 -0.0613)
OKLCHoklch(40.6% 0.164 338.1)
XYZxyz(10.9611, 5.6664, 13.3458)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1167 #117C26
analogous
#5C117C #7C1167 #7C1131
triadic
#7C1167 #677C11 #11677C
tetradic
#7C1167 #7C5C11 #117C26 #11317C
square
#7C1167 #7C5C11 #117C26 #11317C
split-complementary
#7C1167 #317C11 #117C5C
monochromatic
#1B0416 #460A3A #7C1167 #B21894 #E126BD

Accessibility & contrast

On white

9.85
#7C1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1167
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1167#FFFFFF#000000##FFFFFF
##7C11671.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#83193D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1167;
/* rgb */ color: rgb(124, 17, 103);
/* oklch */ color: oklch(40.6% 0.164 338.1);
Tailwind
colors: {
  custom: {
    50: '#a65f92',
    500: '#7c1167',
    950: '#000000',
  },
}
SCSS
$custom: #7c1167;
$custom-light: #a65f92;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1167",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 311.776,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.16421,
    "h": 338.1
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#7C1167
secondary
#37B24F
accent
#F25A35
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C1167

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

Preview Lab → · Contrast checker → · Palette generator →

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