#7C2155#7C2155

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

Color values

HEX#7C2155
RGBrgb(124, 33, 85)
HSLhsl(326, 58%, 31%)
HSVhsv(326, 73%, 49%)
CMYKcmyk(0%, 73.4%, 31.5%, 51.4%)
CIE-LABlab(29.49, 43.82, -9.35)
CIE-LCHlch(29.49, 44.80, 347.96°)
OKLaboklab(41.01% 0.1336 -0.0244)
OKLCHoklch(41.01% 0.136 349.6)
XYZxyz(10.4963, 6.0298, 9.2037)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2155 #217C48
analogous
#75217C #7C2155 #7C2127
triadic
#7C2155 #557C21 #21557C
tetradic
#7C2155 #7C7521 #217C48 #21277C
square
#7C2155 #7C7521 #217C48 #21277C
split-complementary
#7C2155 #277C21 #217C75
monochromatic
#1B0713 #4C1434 #7C2155 #AC2E76 #CF4995

Accessibility & contrast

On white

9.52
#7C2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2155
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2155#FFFFFF#000000##FFFFFF
##7C21551.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B56
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#851C38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2155;
/* rgb */ color: rgb(124, 33, 85);
/* oklch */ color: oklch(41.0% 0.136 349.6);
Tailwind
colors: {
  custom: {
    50: '#a56584',
    500: '#7c2155',
    950: '#000000',
  },
}
SCSS
$custom: #7c2155;
$custom-light: #a56584;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2155",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 325.714,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.13581,
    "h": 349.6
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#7C2155
secondary
#4AAF75
accent
#E18947
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C2155

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

Preview Lab → · Contrast checker → · Palette generator →

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