#7C2159#7C2159

#7C2159 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.138 H 347.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7C2159
RGBrgb(124, 33, 89)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 73%, 49%)
CMYKcmyk(0%, 73.4%, 28.2%, 51.4%)
CIE-LABlab(29.65, 44.35, -11.72)
CIE-LCHlch(29.65, 45.87, 345.20°)
OKLaboklab(41.18% 0.1347 -0.0309)
OKLCHoklch(41.18% 0.138 347.1)
XYZxyz(10.6597, 6.0952, 10.0644)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2159 #217C44
analogous
#71217C #7C2159 #7C212B
triadic
#7C2159 #597C21 #21597C
tetradic
#7C2159 #7C7121 #217C44 #212B7C
square
#7C2159 #7C7121 #217C44 #212B7C
split-complementary
#7C2159 #2B7C21 #217C71
monochromatic
#1B0714 #4C1436 #7C2159 #AC2E7C #CF499B

Accessibility & contrast

On white

9.46
#7C2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2159
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2159#FFFFFF#000000##FFFFFF
##7C21591.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#851E3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2159;
/* rgb */ color: rgb(124, 33, 89);
/* oklch */ color: oklch(41.2% 0.138 347.1);
Tailwind
colors: {
  custom: {
    50: '#a56588',
    500: '#7c2159',
    950: '#000000',
  },
}
SCSS
$custom: #7c2159;
$custom-light: #a56588;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2159",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 323.077,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.13816,
    "h": 347.1
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#7C2159
secondary
#4AAF71
accent
#E18247
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C2159

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

Preview Lab → · Contrast checker → · Palette generator →

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