#7C2154#7C2154

#7C2154 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.135 H 350.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7C2154
RGBrgb(124, 33, 84)
HSLhsl(326, 58%, 31%)
HSVhsv(326, 73%, 49%)
CMYKcmyk(0%, 73.4%, 32.3%, 51.4%)
CIE-LABlab(29.45, 43.69, -8.75)
CIE-LCHlch(29.45, 44.55, 348.67°)
OKLaboklab(40.97% 0.1333 -0.0228)
OKLCHoklch(40.97% 0.135 350.3)
XYZxyz(10.4568, 6.0141, 8.9959)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2154 #217C49
analogous
#76217C #7C2154 #7C2126
triadic
#7C2154 #547C21 #21547C
tetradic
#7C2154 #7C7621 #217C49 #21267C
square
#7C2154 #7C7621 #217C49 #21267C
split-complementary
#7C2154 #267C21 #217C76
monochromatic
#1B0713 #4C1433 #7C2154 #AC2E75 #CF4994

Accessibility & contrast

On white

9.53
#7C2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2154
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2154#FFFFFF#000000##FFFFFF
##7C21541.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#851C37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2154;
/* rgb */ color: rgb(124, 33, 84);
/* oklch */ color: oklch(41.0% 0.135 350.3);
Tailwind
colors: {
  custom: {
    50: '#a66584',
    500: '#7c2154',
    950: '#000000',
  },
}
SCSS
$custom: #7c2154;
$custom-light: #a66584;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2154",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 326.374,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.13526,
    "h": 350.3
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#7C2154
secondary
#4AAF76
accent
#E18B47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C2154

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

Preview Lab → · Contrast checker → · Palette generator →

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