#7C216A#7C216A

#7C216A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.150 H 337.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7C216A
RGBrgb(124, 33, 106)
HSLhsl(312, 58%, 31%)
HSVhsv(312, 73%, 49%)
CMYKcmyk(0%, 73.4%, 14.5%, 51.4%)
CIE-LABlab(30.43, 46.85, -21.52)
CIE-LCHlch(30.43, 51.55, 335.32°)
OKLaboklab(42.01% 0.1379 -0.0585)
OKLCHoklch(42.01% 0.15 337)
XYZxyz(11.4578, 6.4144, 14.2675)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C216A #217C33
analogous
#60217C #7C216A #7C213C
triadic
#7C216A #6A7C21 #216A7C
tetradic
#7C216A #7C6021 #217C33 #213C7C
square
#7C216A #7C6021 #217C33 #213C7C
split-complementary
#7C216A #3C7C21 #217C60
monochromatic
#1B0717 #4C1441 #7C216A #AC2E93 #CF49B4

Accessibility & contrast

On white

9.20
#7C216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C216A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C216A#FFFFFF#000000##FFFFFF
##7C216A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#832642
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c216a;
/* rgb */ color: rgb(124, 33, 106);
/* oklch */ color: oklch(42.0% 0.150 337.0);
Tailwind
colors: {
  custom: {
    50: '#a56595',
    500: '#7c216a',
    950: '#000000',
  },
}
SCSS
$custom: #7c216a;
$custom-light: #a56595;
$custom-dark: #000000;
JSON
{
  "hex": "#7c216a",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 311.868,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.14975,
    "h": 337
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#7C216A
secondary
#4AAF5E
accent
#E16547
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C216A

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

Preview Lab → · Contrast checker → · Palette generator →

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